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-Url: http://git.asbjorn.biz/?p=jquery.git;a=commitdiff_plain;h=a33d01a7b09f2b3b06ba273b89b77fec8d20b144 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 e026d9e..612fce1 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 8265410..99f4d29 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;