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

Version Path
loco-rails-1.3.1 test/dummy/vendor/assets/bower_components/jquery/src/traversing/var/dir.js
loco-rails-1.3.0 test/dummy/vendor/assets/bower_components/jquery/src/traversing/var/dir.js
trusty-cms-2.0.23 app/assets/bower_components/jquery/src/traversing/var/dir.js
loco-rails-1.0.2 test/dummy/vendor/assets/bower_components/jquery/src/traversing/var/dir.js
loco-rails-1.0.1 test/dummy/vendor/assets/bower_components/jquery/src/traversing/var/dir.js
try_api-0.0.10 app/assets/javascripts/try_api/bower_components/jquery/src/traversing/var/dir.js
try_api-0.0.9 app/assets/javascripts/try_api/bower_components/jquery/src/traversing/var/dir.js
try_api-0.0.8 app/assets/javascripts/try_api/bower_components/jquery/src/traversing/var/dir.js
try_api-0.0.7 app/assets/javascripts/try_api/bower_components/jquery/src/traversing/var/dir.js
try_api-0.0.6 app/assets/javascripts/try_api/bower_components/jquery/src/traversing/var/dir.js