Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / jquery / src / traversing / var / siblings.js
diff --git a/ecomp-portal-FE/client/bower_components/jquery/src/traversing/var/siblings.js b/ecomp-portal-FE/client/bower_components/jquery/src/traversing/var/siblings.js
new file mode 100644 (file)
index 0000000..8a8880b
--- /dev/null
@@ -0,0 +1,15 @@
+define( function() {
+
+return function( n, elem ) {
+       var matched = [];
+
+       for ( ; n; n = n.nextSibling ) {
+               if ( n.nodeType === 1 && n !== elem ) {
+                       matched.push( n );
+               }
+       }
+
+       return matched;
+};
+
+} );