diff options
author | jeresig <jeresig@gmail.com> | 2010-03-01 21:56:08 -0500 |
---|---|---|
committer | jeresig <jeresig@gmail.com> | 2010-03-01 21:56:08 -0500 |
commit | a33d01a7b09f2b3b06ba273b89b77fec8d20b144 (patch) | |
tree | cdf18c21b34a6269488127a3fbbb9f2c954ad141 | |
parent | 950b5d64a27994db1697eb4e605f5ea48ad8021b (diff) | |
download | jquery-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-- | Makefile | 2 | ||||
-rw-r--r-- | src/sizzle-jquery.js | 2 |
2 files changed, 1 insertions, 3 deletions
@@ -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; |