]>
git.wh0rd.org - tt-rss.git/blob - lib/dijit/_base/manager.js.uncompressed.js
1 define("dijit/_base/manager", [
3 "dojo/_base/config", // defaultDuration
6 "../main" // for setting exports to dijit namespace
7 ], function(array
, config
, lang
, registry
, dijit
){
10 // dijit/_base/manager
14 // Deprecated. Shim to methods on registry, plus a few other declarations.
15 // New code should access dijit/registry directly when possible.
18 array
.forEach(["byId", "getUniqueId", "findWidgets", "_destroyAll", "byNode", "getEnclosingWidget"], function(name
){
19 exports
[name
] = registry
[name
];
23 // defaultDuration: Integer
24 // The default fx.animation speed (in ms) to use for all Dijit
25 // transitional fx.animations, unless otherwise specified
26 // on a per-instance basis. Defaults to 200, overrided by
27 // `djConfig.defaultDuration`
28 defaultDuration
: config
["defaultDuration"] || 200
31 lang
.mixin(dijit
, exports
);
33 /*===== return exports; =====*/
34 return dijit
; // for back compat :-(