Skip to content

Commit a33d01a

Browse files
committed
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.
1 parent 950b5d6 commit a33d01a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ ${JQ}: selector ${MODULES}
6161

6262
selector: ${DIST_DIR} init
6363
@@echo "Building selector code from Sizzle"
64-
@@sed '/EXPOSE/r src/sizzle-jquery.js' src/sizzle/sizzle.js > src/selector.js
64+
@@sed '/EXPOSE/r src/sizzle-jquery.js' src/sizzle/sizzle.js | grep -v window.Sizzle > src/selector.js
6565

6666
lint: ${JQ}
6767
@@echo "Checking jQuery against JSLint..."

src/sizzle-jquery.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ jQuery.unique = Sizzle.uniqueSort;
55
jQuery.text = getText;
66
jQuery.isXMLDoc = isXML;
77
jQuery.contains = contains;
8-
9-
return;

0 commit comments

Comments
 (0)