Skip to content
Permalink
Browse files

Remove the need for the return in sizzle-jquery and just remove the a…

…ttempt to expose Sizzle completely. jQuery is 100% passing JSLint ('make lint') now.
  • Loading branch information
jeresig committed Mar 2, 2010
1 parent 950b5d6 commit a33d01a7b09f2b3b06ba273b89b77fec8d20b144
Showing with 1 addition and 3 deletions.
  1. +1 −1 Makefile
  2. +0 −2 src/sizzle-jquery.js
@@ -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..."
@@ -5,5 +5,3 @@ jQuery.unique = Sizzle.uniqueSort;
jQuery.text = getText;
jQuery.isXMLDoc = isXML;
jQuery.contains = contains;

return;

0 comments on commit a33d01a

Please sign in to comment.
You can’t perform that action at this time.