Changeset 7447

Show
Ignore:
Timestamp:
02/25/07 11:11:35 (23 months ago)
Author:
alex
Message:

re-enable xpath on FF, ensure that we're not spuriously debugging (and thereby slowing things down)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/query.js

    r7446 r7447  
    8080                // FIXME: don't need to memoize. The closure scope handles it for us. 
    8181                var xpath = buildPath(path); 
    82                 // dojo.debug(xpath); 
    8382 
    8483                var tf = function(){ 
     
    876875                                candidates = curLevelItems; 
    877876                                if(!qparts.length){ 
    878                                         // dojo.debug(query); 
    879877                                        return candidates; 
    880878                                } 
     
    923921        ); 
    924922        // FIXME: disable XPath for testing and tuning the DOM path 
    925         _getQueryFunc = getStepQueryFunc; 
     923        // _getQueryFunc = getStepQueryFunc; 
    926924 
    927925        var getQueryFunc = function(query){ 
     
    1000998                var tnl = new dojo.NodeList(); 
    1001999                var ff = (simpleFilter) ? getFilterFunc(simpleFilter) : function(){ return true; }; 
    1002                 dojo.debug(ff); 
     1000                // dojo.debug(ff); 
    10031001                for(var x=0, te; te = nodeList[x]; x++){ 
    10041002                        if(ff(te)){ tnl.push(te); }