Changeset 12371
- Timestamp:
- 02/11/08 13:32:57 (3 months ago)
- Files:
-
- 1 modified
-
dojo/trunk/_base/query.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dojo/trunk/_base/query.js
r12311 r12371 1027 1027 var getQueryFunc = function(query){ 1028 1028 // return a cached version if one is available 1029 if(d.doc["querySelectorAll"]){ 1030 return function(root){ 1031 var r = root.querySelectorAll(query); 1032 r.nozip = true; // skip expensive duplication checks and just wrap in a NodeList 1033 return r; 1034 }; 1035 } 1029 1036 if(_queryFuncCache[query]){ return _queryFuncCache[query]; } 1030 1037 if(0 > query.indexOf(",")){