aboutsummaryrefslogtreecommitdiffstats
path: root/src/traversing.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/traversing.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/traversing.js')
-rw-r--r--src/traversing.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/traversing.js b/src/traversing.js
index 8525c0a5d..50cd2d6ee 100644
--- a/src/traversing.js
+++ b/src/traversing.js
@@ -9,6 +9,8 @@ define( [
"./selector"
], function( jQuery, indexOf, dir, siblings, rneedsContext ) {
+"use strict";
+
var rparentsprev = /^(?:parents|prev(?:Until|All))/,
// Methods guaranteed to produce a unique set when starting from a unique set