[Pkg-javascript-commits] [dojo] 02/06: removing the QSA branch which isn't ready for prime-time. Refs #8102. !strict

David Prévot taffit at moszumanska.debian.org
Mon May 11 20:12:13 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag 1.2.3
in repository dojo.

commit d13964f9ddf9731f41151fa991d02fa8d81293c1
Author: Alex Russell <slightlyoff at chromium.org>
Date:   Mon Nov 17 22:33:57 2008 +0000

    removing the QSA branch which isn't ready for prime-time. Refs #8102. !strict
    
    
    git-svn-id: http://svn.dojotoolkit.org/src/branches/1.2/dojo@15749 560b804f-0ae3-0310-86f3-f6aa0a117693
---
 _base/query.js | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/_base/query.js b/_base/query.js
index ceb7f75..4a6b1ec 100644
--- a/_base/query.js
+++ b/_base/query.js
@@ -984,19 +984,6 @@ dojo.require("dojo._base.NodeList");
 	// future
 	var getQueryFunc = function(query){
 		// return a cached version if one is available
-		var qcz = query.charAt(0);
-		if(d.doc["querySelectorAll"] && 
-			( (!d.isSafari) || (d.isSafari > 3.1) ) && // see #5832
-			// as per CSS 3, we can't currently start w/ combinator:
-			//		http://www.w3.org/TR/css3-selectors/#w3cselgrammar
-			(">+~".indexOf(qcz) == -1)
-		){
-			return function(root){
-				var r = root.querySelectorAll(query);
-				r.nozip = true; // skip expensive duplication checks and just wrap in a NodeList
-				return r;
-			};
-		}
 		if(_queryFuncCache[query]){ return _queryFuncCache[query]; }
 		if(0 > query.indexOf(",")){
 			// if it's not a compound query (e.g., ".foo, .bar"), cache and return a dispatcher

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list