Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Posts
    70
    Vote Rating
    0
    CableDawg is on a distinguished road

      0  

    Default [FIXED][3.0 Core] Template.compile error in ExtJs Core - args not defined

    [FIXED][3.0 Core] Template.compile error in ExtJs Core - args not defined


    On line 2309 on ext-core-debug.js (from the standalone Core package):

    Code:
        compile : function(){
            var me = this,
            	sep = Ext.isGecko ? "+" : ",";
    
            function fn(m, name){
    	        name = "values['" + name + "']";
    	        return "'"+ sep + name + " == undefined ? '' : " + name + args + ")" + sep + "'";
            }
    
            eval("this.compiled = function(values){ return " + (Ext.isGecko ? "'" : "[") +
                 me.html.replace(/\\/g, '\\\\').replace(/(\r\n|\n)/g, '\\n').replace(/'/g, "\\'").replace(this.re, fn) +
                 (Ext.isGecko ?  "';};" : "'].join('');};"));
            return me;
        },
    The private method "fn()" references the variable 'args' which is not defined for that method. I think it is just missing as a named argument for the method.

    Looking at earlier version of the code and the arguments being passed to the method, I think the fix should be (in green):

    Code:
            function fn(m, name, format, args){
    	        name = "values['" + name + "']";
    	        return "'"+ sep + name + " == undefined ? '' : " + name + args + ")" + sep + "'";
            }

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,833
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    This has already been fixed in SVN, thanks.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi