diff --git a/Makefile b/Makefile index e026d9e6..612fce1c 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 8265410d..99f4d291 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;