Sha256: 61fdb617764326dd329a6ec3290e1cc46bab45d64cad01a898c9456ea599c744

Contents?: true

Size: 1022 Bytes

Versions: 61

Compression:

Stored size: 1022 Bytes

Contents

//= require jquery-ui/version

( function( factory ) {
	if ( typeof define === "function" && define.amd ) {

		// AMD. Register as an anonymous module.
		define( [ "jquery", "./version" ], factory );
	} else {

		// Browser globals
		factory( jQuery );
	}
} ( function( $ ) {

// $.ui.plugin is deprecated. Use $.widget() extensions instead.
return $.ui.plugin = {
	add: function( module, option, set ) {
		var i,
			proto = $.ui[ module ].prototype;
		for ( i in set ) {
			proto.plugins[ i ] = proto.plugins[ i ] || [];
			proto.plugins[ i ].push( [ option, set[ i ] ] );
		}
	},
	call: function( instance, name, args, allowDisconnected ) {
		var i,
			set = instance.plugins[ name ];

		if ( !set ) {
			return;
		}

		if ( !allowDisconnected && ( !instance.element[ 0 ].parentNode ||
				instance.element[ 0 ].parentNode.nodeType === 11 ) ) {
			return;
		}

		for ( i = 0; i < set.length; i++ ) {
			if ( instance.options[ set[ i ][ 0 ] ] ) {
				set[ i ][ 1 ].apply( instance.element, args );
			}
		}
	}
};

} ) );

Version data entries

61 entries across 61 versions & 7 rubygems

Version Path
activeadmin-2.0.0.rc1 vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin-rb-1.4.0 vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin-1.4.3 vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin-1.4.2 vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin-1.4.1 vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin-1.4.0 vendor/assets/javascripts/jquery-ui/plugin.js
sn-jquery-ui-rails-6.0.3 app/assets/javascripts/jquery-ui/plugin.js
sn-jquery-ui-rails-6.0.2 app/assets/javascripts/jquery-ui/plugin.js
activeadmin-1.3.1 vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin-1.3.0 vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin-1.2.1 vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin-1.2.0 vendor/assets/javascripts/jquery-ui/plugin.js
activeadmin-1.1.0 vendor/assets/javascripts/jquery-ui/plugin.js
jquery-ui-rails-6.0.1 app/assets/javascripts/jquery-ui/plugin.js