Sha256: 3ad85b80b3005d3b04a1959c2802467cc3939c417c850f811339dd9ea88f7eee

Contents?: true

Size: 1.03 KB

Versions: 8

Compression:

Stored size: 1.03 KB

Contents

define("dijit/_base/manager", [
	"dojo/_base/array",
	"dojo/_base/config", // defaultDuration
	"dojo/_base/lang",
	"../registry",
	"../main"	// for setting exports to dijit namespace
], function(array, config, lang, registry, dijit){

	// module:
	//		dijit/_base/manager

	var exports = {
		// summary:
		//		Deprecated.  Shim to methods on registry, plus a few other declarations.
		//		New code should access dijit/registry directly when possible.
	};

	array.forEach(["byId", "getUniqueId", "findWidgets", "_destroyAll", "byNode", "getEnclosingWidget"], function(name){
		exports[name] = registry[name];
	});

	 lang.mixin(exports, {
		 // defaultDuration: Integer
		 //		The default fx.animation speed (in ms) to use for all Dijit
		 //		transitional fx.animations, unless otherwise specified
		 //		on a per-instance basis. Defaults to 200, overrided by
		 //		`djConfig.defaultDuration`
		 defaultDuration: config["defaultDuration"] || 200
	 });

	lang.mixin(dijit, exports);

	/*===== return exports; =====*/
	return dijit;	// for back compat :-(
});

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
dojo_rails-0.0.2 vendor/assets/javascripts/dijit/_base/manager.js.uncompressed.js
dojo_rails-0.0.1 vendor/assets/javascripts/dijit/_base/manager.js.uncompressed.js
dijit-rails-0.11.0 vendor/assets/javascripts/dijit/_base/manager.js.uncompressed.js
dijit-rails-0.10.4 vendor/assets/javascripts/dijit/_base/manager.js.uncompressed.js
dijit-rails-0.10.3 vendor/assets/javascripts/dijit/_base/manager.js.uncompressed.js
dijit-rails-0.10.2 vendor/assets/javascripts/dijit/_base/manager.js.uncompressed.js
dijit-rails-0.10.1 vendor/assets/javascripts/dijit/_base/manager.js.uncompressed.js
dijit-rails-0.10.0 vendor/assets/javascripts/dijit/_base/manager.js.uncompressed.js