diff options
Diffstat (limited to 'utils/test/testapi/3rd_party/static/testapi-ui/assets/lib/jquery/src/manipulation/getAll.js')
-rw-r--r-- | utils/test/testapi/3rd_party/static/testapi-ui/assets/lib/jquery/src/manipulation/getAll.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/utils/test/testapi/3rd_party/static/testapi-ui/assets/lib/jquery/src/manipulation/getAll.js b/utils/test/testapi/3rd_party/static/testapi-ui/assets/lib/jquery/src/manipulation/getAll.js deleted file mode 100644 index fede6c78a..000000000 --- a/utils/test/testapi/3rd_party/static/testapi-ui/assets/lib/jquery/src/manipulation/getAll.js +++ /dev/null @@ -1,32 +0,0 @@ -define( [ - "../core", - "../core/nodeName" -], function( jQuery, nodeName ) { - -"use strict"; - -function getAll( context, tag ) { - - // Support: IE <=9 - 11 only - // Use typeof to avoid zero-argument method invocation on host objects (#15151) - var ret; - - if ( typeof context.getElementsByTagName !== "undefined" ) { - ret = context.getElementsByTagName( tag || "*" ); - - } else if ( typeof context.querySelectorAll !== "undefined" ) { - ret = context.querySelectorAll( tag || "*" ); - - } else { - ret = []; - } - - if ( tag === undefined || tag && nodeName( context, tag ) ) { - return jQuery.merge( [ context ], ret ); - } - - return ret; -} - -return getAll; -} ); |