diff options
Diffstat (limited to 'src/manipulation/getAll.js')
-rw-r--r-- | src/manipulation/getAll.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/manipulation/getAll.js b/src/manipulation/getAll.js index d08470b48..cc913f29e 100644 --- a/src/manipulation/getAll.js +++ b/src/manipulation/getAll.js @@ -1,8 +1,9 @@ -define([ +define( [ "../core" ], function( jQuery ) { function getAll( context, tag ) { + // Support: IE9-11+ // Use typeof to avoid zero-argument method invocation on host objects (#15151) var ret = typeof context.getElementsByTagName !== "undefined" ? @@ -17,4 +18,4 @@ function getAll( context, tag ) { } return getAll; -}); +} ); |