From a33d01a7b09f2b3b06ba273b89b77fec8d20b144 Mon Sep 17 00:00:00 2001 From: jeresig Date: Mon, 1 Mar 2010 21:56:08 -0500 Subject: [PATCH] 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. --- Makefile | 2 +- src/sizzle-jquery.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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; -- 1.7.10.4