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.

This commit is contained in:
jeresig 2010-03-01 21:56:08 -05:00
parent 950b5d64a2
commit a33d01a7b0
2 changed files with 1 additions and 3 deletions

View File

@ -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..."

View File

@ -5,5 +5,3 @@ jQuery.unique = Sizzle.uniqueSort;
jQuery.text = getText;
jQuery.isXMLDoc = isXML;
jQuery.contains = contains;
return;