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:
parent
950b5d64a2
commit
a33d01a7b0
2 changed files with 1 additions and 3 deletions
2
Makefile
2
Makefile
|
@ -61,7 +61,7 @@ ${JQ}: selector ${MODULES}
|
||||||
|
|
||||||
selector: ${DIST_DIR} init
|
selector: ${DIST_DIR} init
|
||||||
@@echo "Building selector code from Sizzle"
|
@@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}
|
lint: ${JQ}
|
||||||
@@echo "Checking jQuery against JSLint..."
|
@@echo "Checking jQuery against JSLint..."
|
||||||
|
|
|
@ -5,5 +5,3 @@ jQuery.unique = Sizzle.uniqueSort;
|
||||||
jQuery.text = getText;
|
jQuery.text = getText;
|
||||||
jQuery.isXMLDoc = isXML;
|
jQuery.isXMLDoc = isXML;
|
||||||
jQuery.contains = contains;
|
jQuery.contains = contains;
|
||||||
|
|
||||||
return;
|
|
||||||
|
|
Loading…
Reference in a new issue