aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-03-01 21:56:08 -0500
committerjeresig <jeresig@gmail.com>2010-03-01 21:56:08 -0500
commita33d01a7b09f2b3b06ba273b89b77fec8d20b144 (patch)
treecdf18c21b34a6269488127a3fbbb9f2c954ad141
parent950b5d64a27994db1697eb4e605f5ea48ad8021b (diff)
downloadjquery-a33d01a7b09f2b3b06ba273b89b77fec8d20b144.tar.gz
jquery-a33d01a7b09f2b3b06ba273b89b77fec8d20b144.zip
Remove the need for the return in sizzle-jquery and just remove the attempt to expose Sizzle completely. jQuery is 100% passing JSLint ('make lint') now.
-rw-r--r--Makefile2
-rw-r--r--src/sizzle-jquery.js2
2 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e026d9e67..612fce1c3 100644
--- 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..."
diff --git a/src/sizzle-jquery.js b/src/sizzle-jquery.js
index 8265410dc..99f4d291b 100644
--- a/src/sizzle-jquery.js
+++ b/src/sizzle-jquery.js
@@ -5,5 +5,3 @@ jQuery.unique = Sizzle.uniqueSort;
jQuery.text = getText;
jQuery.isXMLDoc = isXML;
jQuery.contains = contains;
-
-return;