diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-04-25 20:25:08 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-04-25 20:25:08 +0200 |
commit | 305f193aa57014dc7d8fa0739a3fefd47166cd44 (patch) | |
tree | 7eadfc06ae4e0301d8e6a592b4ebb1baf96322af /src/manipulation/var | |
parent | e2d1142c2e8eb1c5ef2177e6739b1ce6d875d604 (diff) | |
download | jquery-305f193aa57014dc7d8fa0739a3fefd47166cd44.tar.gz jquery-305f193aa57014dc7d8fa0739a3fefd47166cd44.zip |
Build: Put all AMD modules in "src/" in strict mode
Fixes gh-3073
Diffstat (limited to 'src/manipulation/var')
-rw-r--r-- | src/manipulation/var/rcheckableType.js | 2 | ||||
-rw-r--r-- | src/manipulation/var/rscriptType.js | 2 | ||||
-rw-r--r-- | src/manipulation/var/rtagName.js | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/manipulation/var/rcheckableType.js b/src/manipulation/var/rcheckableType.js index 4c95394ac..25bbcb418 100644 --- a/src/manipulation/var/rcheckableType.js +++ b/src/manipulation/var/rcheckableType.js @@ -1,3 +1,5 @@ define( function() { + "use strict"; + return ( /^(?:checkbox|radio)$/i ); } ); diff --git a/src/manipulation/var/rscriptType.js b/src/manipulation/var/rscriptType.js index 0c77c8a58..7237c8a31 100644 --- a/src/manipulation/var/rscriptType.js +++ b/src/manipulation/var/rscriptType.js @@ -1,3 +1,5 @@ define( function() { + "use strict"; + return ( /^$|\/(?:java|ecma)script/i ); } ); diff --git a/src/manipulation/var/rtagName.js b/src/manipulation/var/rtagName.js index 1f8751ed8..d565dd3de 100644 --- a/src/manipulation/var/rtagName.js +++ b/src/manipulation/var/rtagName.js @@ -1,3 +1,5 @@ define( function() { + "use strict"; + return ( /<([a-z][^\/\0>\x20\t\r\n\f]+)/i ); } ); |