aboutsummaryrefslogtreecommitdiffstats
path: root/src/dimensions.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2016-04-25 20:25:08 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2016-04-25 20:25:08 +0200
commit305f193aa57014dc7d8fa0739a3fefd47166cd44 (patch)
tree7eadfc06ae4e0301d8e6a592b4ebb1baf96322af /src/dimensions.js
parente2d1142c2e8eb1c5ef2177e6739b1ce6d875d604 (diff)
downloadjquery-305f193aa57014dc7d8fa0739a3fefd47166cd44.tar.gz
jquery-305f193aa57014dc7d8fa0739a3fefd47166cd44.zip
Build: Put all AMD modules in "src/" in strict mode
Fixes gh-3073
Diffstat (limited to 'src/dimensions.js')
-rw-r--r--src/dimensions.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dimensions.js b/src/dimensions.js
index 3d4dbff10..46e7b1c46 100644
--- a/src/dimensions.js
+++ b/src/dimensions.js
@@ -4,6 +4,8 @@ define( [
"./css"
], function( jQuery, access ) {
+"use strict";
+
// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods
jQuery.each( { Height: "height", Width: "width" }, function( name, type ) {
jQuery.each( { padding: "inner" + name, content: type, "": "outer" + name },