diff options
author | Timmy Willison <timmywillisn@gmail.com> | 2016-02-10 13:47:25 -0800 |
---|---|---|
committer | Timmy Willison <timmywillisn@gmail.com> | 2016-02-10 13:47:25 -0800 |
commit | 5943f1d7ffef41cc1a99bffe189f6d111fbccfd0 (patch) | |
tree | a5ebe5ff957bbedc447e27178b931b30a86a1057 /build/tasks/build.js | |
parent | c7431c7793f7605250807f91bee7c9ddcbaeb91b (diff) | |
download | jquery-5943f1d7ffef41cc1a99bffe189f6d111fbccfd0.tar.gz jquery-5943f1d7ffef41cc1a99bffe189f6d111fbccfd0.zip |
Build: use hard-coded path to sizzle in selector-sizzle
Fixes gh-2898
Diffstat (limited to 'build/tasks/build.js')
-rw-r--r-- | build/tasks/build.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index c9f1daeb8..1f1719a48 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -31,9 +31,6 @@ module.exports = function( grunt ) { startFile: "src/intro.js", endFile: [ "src/exports/global.js", "src/outro.js" ] }, - paths: { - sizzle: "../external/sizzle/dist/sizzle" - }, rawText: {}, onBuildWrite: convert }; @@ -58,7 +55,7 @@ module.exports = function( grunt ) { .replace( rdefineEnd, "" ); // Sizzle treatment - } else if ( /^sizzle$/.test( name ) ) { + } else if ( /\/sizzle$/.test( name ) ) { contents = "var Sizzle =\n" + contents // Remove EXPOSE lines from Sizzle |