diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2019-10-09 00:17:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-09 00:17:55 +0200 |
commit | bbad821c399da92995a11b88d6684970479d4a9b (patch) | |
tree | 6c37c0b6d7f5115f452bcfbf07b223a03a29d431 /build/release/dist.js | |
parent | 4504fc3d722dd029d861cb47aa65a5edc651c4d3 (diff) | |
download | jquery-bbad821c399da92995a11b88d6684970479d4a9b.tar.gz jquery-bbad821c399da92995a11b88d6684970479d4a9b.zip |
Build: Require strict mode in Node.js scripts via ESLint
So far, only browser-based JS files were required to be in strict mode (in the
function form). This commit adds such a requirement to Node.js scripts where
the global form is preferred. All Node.js scripts in sloppy mode were
converted to strict mode.
Closes gh-4499
Diffstat (limited to 'build/release/dist.js')
-rw-r--r-- | build/release/dist.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/release/dist.js b/build/release/dist.js index 0b1e04a7f..0ca396811 100644 --- a/build/release/dist.js +++ b/build/release/dist.js @@ -1,3 +1,5 @@ +"use strict"; + module.exports = function( Release, files, complete ) { var |