| Wijmo Team Member | Carsten Madsen posted on June 29, 2012 at 11:41 am Hello I get “e.item is not a function” when i run http://wijmo.com/demo/explore/#editor|overview with Firefox 13 & firebug open running FC17. So I can verify the bug described here http://wijmo.com/topic/wijdropdown-with-tab-navigation/ BR | |
| Wijmo Team Member | abdiasm posted on July 2, 2012 at 10:05 am I’m sorry I cannot replicate the issue when I open http://wijmo.com/demo/explore/#editor|overview with Firefox 13.0.1 and I have Firebug 1.9.2 on a Win 7 machine. Could you provide some more details that might be helpful in investigating the issue. Thanks | Answer |
| Wijmo Team Member | Carsten Madsen posted on July 3, 2012 at 7:55 am This is the line causing problem according to firebug in FF: (function(){“use strict”;if(!window.Raphael)return;$.extend({round:function(a,b){return!a?0:Globalize.parseFloat(a.toFixed(b),10,Globalize.culture(“en”))},toOADate:function(b){var c=864e5,a=b-new Date(1900,0,1)+2*c;return a},fromOADate:function(a){var c=864e5,b=new Date(a-2*c+ +new Date(1900,0,1));return b},arrayClone:function(b){var a=[];$.each(b,function(c,b){a.push($.extend(true,{},b))});return a}});$.wijraphael={isSVGElem:function(a){var b=”http://www.w3.org/2000/svg”;return a.nodeType===1&&a.namespaceURI===b},addClass:function(b,a){a=a||”";$.each(b,function(){if($.wijraphael.isSVGElem(this)){var b=this;$.each(a.split(/\s+/),function(d,c){var a=b.className?b.className.baseVal:b.getAttribute(“class”);if($.inArray(c,a.split(/\s+/))===-1){a+=(a?” “:”")+c;if(b.className)b.className.baseVal=a;else b.setAttribute(“class”,a)}})}else $(this).addClass(a)})},clearRaphaelCache:function(){Raphael.path2curve.cache=null;Raphael.path2curve.count=null;Raphael.parseTransformString.cache=null;Raphael.parseTransformString.count=null;Raphael.parsePathString.cache=null;Raphael.parsePathString.count=null;Raphael._pathToAbsolute.cache=null;Raphael._pathToAbsolute.count=null},getPositionByAngle:function(e,f,c,d){var a={},b=Raphael.rad(d);a.x=e+c*Math.cos(-1*b);a.y=f+c*Math.sin(-1*b);return a},hasClass:function(a,b){if(!b||b.length===0)return false;if($.wijraphael.isSVGElem(a)){var d=a.className?a.className.baseVal:a.getAttribute(“class”),c=false;$.each(d.split(/\s+/),function(d,a){if(a===b){c=true;return false}});return c}else return $(a).hasClass(b)},sector:function(b,c,a,d,e){var f=$.wijraphael.getPositionByAngle(b,c,a,d),g=$.wijraphael.getPositionByAngle(b,c,a,e);return["M",b,c,"L",f.x,f.y,"A",a,a,0,+(e-d>180),0,g.x,g.y,"z"]}};$.expr.filter.CLASS=function(a,c){var b=!$.wijraphael.isSVGElem(a)?a.className:a.className?a.className.baseVal:a.getAttribute(“class”);return(” “+b+” “).indexOf(c)>-1};$.expr.preFilter.CLASS=function(c,e,f,g,i,h){var b=0,a=null,d=null;c=” “+c[1].replace(/\\/g,”")+” “;if(h)return c;for(b=0,a={};a;b++){a=e;if(!a)try{a=e.item(b)}catch(j){}if(a){d=!$.wijraphael.isSVGElem(a)?a.className:(a.className?a.className.baseVal:”")||a.getAttribute(“class”);if(i^(d&&(” “+d+” “).indexOf(c)>-1))!f&&g.push(a);else if(f)e=false}}return false};Raphael.fn.tri=function(b,c,e){var g=b,j=c-e,a=Math.cos(Math.PI/6)*e,d=Math.tan(Math.PI/3)*a,h=b+a,k=c+d,i=b-a,l=c+d,f=["M",g,j,"L",h,k,"L",i,l,"z"];return this.path(f.concat(” “))};Raphael.fn.invertedTri=function(b,c,e){var g=b,j=c+e,a=Math.cos(Math.PI/6)*e,d=Math.tan(Math.PI/3)*a,h=b+a,k=c-d,i=b-a,l=c-d,f=["M",g,j,"L",h,k,"L",i,l,"z"];return this.path(f.concat(” “))};Raphael.fn.box=function(b,c,e){var a=Math.cos(Math.PI/4)*e,d=["M",b-a,c-a,"L",b+a,c-a,"L",b+a,c+a,"L",b-a,c+a,"z"];return this.path(d.concat(” “))};Raphael.fn.diamond=function(b,c,a){var d=["M",b,c-a,"L",b+a,c,"L",b,c+a,"L",b-a,c,"z"];return this.path(d.concat(” “))};Raphael.fn.cross=function(b,c,e){var a=Math.cos(Math.PI/4)*e,d=["M",b-a,c-a,"L",b+a,c+a,"M",b-a,c+a,"L",b+a,c-a];return this.path(d.concat(” “))};Raphael.fn.paintMarker=function(f,d,e,b){var c=this,a=null;if(!f)f=”circle”;switch(f){case”circle”:a=c.circle(d,e,b);break;case”tri”:a=c.tri(d,e,b);break;case”invertedTri”:a=c.invertedTri(d,e,b);break;case”box”:a=c.box(d,e,b);break;case”diamond”:a=c.diamond(d,e,b);break;case”cross”:a=c.cross(d,e,b)}return a};Raphael.prototype.htmlText=function(k,l,a,i,e,d){function h(b,a,d){var f=/< (b|strong)>/,e=/< (i|em)>/,c=/href=[\"\']([^\"\']+)[\"\']/,g=/|\\r/i),g=this,b=g.set(),c=0,f=0;e=e||3;d=d||5;$.each(j,function(m,k){var j=0,l=k.split(“|||”);k=k.replace(/< ([A-Za-z]+(.|\n)*?)>/g,”|||< $1>“).replace(/< \/([A-Za-z]*)>/g,”|||”);$.each(l,function(o,l){var k=null,d=null,m=0,n=0;if(l!==”"){k=l;k=$.trim(k.replace(/< (.|\n)*?>/g,”"));a=g.text(0,0,k);h(a,l,i);d=a.wijGetBBox();m=d.width/2+c;n=-d.height/2+f;c=c+d.width+e;a.translate(m,n);b.push(a);if(j | Answer |
| Wijmo Team Member | C1_JustinM posted on July 6, 2012 at 12:58 pm I just finished testing this on a VM running Fedora 17 running Firefox 13.0.1, and Firebug 1.9.2. I am still unable to reproduce this error. | Answer |
This topic has 3 voices, contains 3 replies, and was last updated by C1_JustinM 349 days ago.
You must be logged in to reply to this topic.