From: jeresig Date: Tue, 2 Mar 2010 02:56:08 +0000 (-0500) Subject: Remove the need for the return in sizzle-jquery and just remove the attempt to expose... X-Git-Tag: 1.4.3rc1~185 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a33d01a7b09f2b3b06ba273b89b77fec8d20b144;p=jquery.git 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. --- 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;