aboutsummaryrefslogtreecommitdiffstats
path: root/bower_components/jquery/src/manipulation/getAll.js
diff options
context:
space:
mode:
Diffstat (limited to 'bower_components/jquery/src/manipulation/getAll.js')
-rw-r--r--bower_components/jquery/src/manipulation/getAll.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/bower_components/jquery/src/manipulation/getAll.js b/bower_components/jquery/src/manipulation/getAll.js
deleted file mode 100644
index d049b79..0000000
--- a/bower_components/jquery/src/manipulation/getAll.js
+++ /dev/null
@@ -1,33 +0,0 @@
-define( [
- "../core"
-], function( jQuery ) {
-
-function getAll( context, tag ) {
- var elems, elem,
- i = 0,
- found = typeof context.getElementsByTagName !== "undefined" ?
- context.getElementsByTagName( tag || "*" ) :
- typeof context.querySelectorAll !== "undefined" ?
- context.querySelectorAll( tag || "*" ) :
- undefined;
-
- if ( !found ) {
- for ( found = [], elems = context.childNodes || context;
- ( elem = elems[ i ] ) != null;
- i++
- ) {
- if ( !tag || jQuery.nodeName( elem, tag ) ) {
- found.push( elem );
- } else {
- jQuery.merge( found, getAll( elem, tag ) );
- }
- }
- }
-
- return tag === undefined || tag && jQuery.nodeName( context, tag ) ?
- jQuery.merge( [ context ], found ) :
- found;
-}
-
-return getAll;
-} );