Sha256: 463a2f72ff6786cf9c99b3ad39ea0cb7773af9ee3b7a1b6d6ad4147491f68e05
Contents?: true
Size: 371 Bytes
Versions: 210
Compression:
Stored size: 371 Bytes
Contents
define( [ "../../core" ], function( jQuery ) { "use strict"; return function( elem, dir, until ) { var matched = [], truncate = until !== undefined; while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { if ( elem.nodeType === 1 ) { if ( truncate && jQuery( elem ).is( until ) ) { break; } matched.push( elem ); } } return matched; }; } );
Version data entries
210 entries across 182 versions & 25 rubygems