]> source.dussan.org Git - jquery.git/commitdiff
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 e026d9e679fa33bbdf7ab0689fae254d56da303c..612fce1c3dec10eb7953ecb68e7fa4b01c5ba80b 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 8265410dc1a25c9aa196e98367d290f014b29de4..99f4d291b2be791ecbbb8a7510b1ad714bb604cc 100644 (file)
@@ -5,5 +5,3 @@ jQuery.unique = Sizzle.uniqueSort;
 jQuery.text = getText;
 jQuery.isXMLDoc = isXML;
 jQuery.contains = contains;
-
-return;