Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 a33d01a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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..."
Expand Down
2 changes: 0 additions & 2 deletions src/sizzle-jquery.js
Expand Up @@ -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.