Remove the need for the return in sizzle-jquery and just remove the attempt to expose...
authorjeresig <jeresig@gmail.com>
Tue, 2 Mar 2010 02:56:08 +0000 (21:56 -0500)
committerjeresig <jeresig@gmail.com>
Tue, 2 Mar 2010 02:56:08 +0000 (21:56 -0500)
Makefile
src/sizzle-jquery.js

index e026d9e..612fce1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -61,7 +61,7 @@ ${JQ}: selector ${MODULES}
 
 selector: ${DIST_DIR} init
        @@echo "Building selector code from Sizzle"
-       @@sed '/EXPOSE/r src/sizzle-jquery.js' src/sizzle/sizzle.js > src/selector.js
+       @@sed '/EXPOSE/r src/sizzle-jquery.js' src/sizzle/sizzle.js | grep -v window.Sizzle > src/selector.js
 
 lint: ${JQ}
        @@echo "Checking jQuery against JSLint..."
index 8265410..99f4d29 100644 (file)
@@ -5,5 +5,3 @@ jQuery.unique = Sizzle.uniqueSort;
 jQuery.text = getText;
 jQuery.isXMLDoc = isXML;
 jQuery.contains = contains;
-
-return;