diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2016-04-15 17:13:59 -0400 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2016-04-23 00:30:48 -0400 |
commit | 76084372c29a59b3fa790ea4d2687f0767514999 (patch) | |
tree | d4597330a1373fb0ad65ac866f7ae4fe7ff995ec /build | |
parent | 84427591ccffe686f158ce81e5c6ba6694f7da50 (diff) | |
download | jquery-76084372c29a59b3fa790ea4d2687f0767514999.tar.gz jquery-76084372c29a59b3fa790ea4d2687f0767514999.zip |
Deferred: Remove default callback context
Employs strict mode to simplify Deferred callback context handling.
Fixes gh-3060
Closes gh-3061
Diffstat (limited to 'build')
-rw-r--r-- | build/tasks/build.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/tasks/build.js b/build/tasks/build.js index a62f04ab1..0eff368f7 100644 --- a/build/tasks/build.js +++ b/build/tasks/build.js @@ -23,6 +23,9 @@ module.exports = function( grunt ) { baseUrl: "src", name: "jquery", + // Allow strict mode + useStrict: true, + // We have multiple minify steps optimize: "none", |