mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 10:46:49 +00:00
upgrade dojo to 1.8.3 (refs #570)
This commit is contained in:
35
lib/dijit/_base/manager.js.uncompressed.js
Normal file
35
lib/dijit/_base/manager.js.uncompressed.js
Normal file
@@ -0,0 +1,35 @@
|
||||
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 :-(
|
||||
});
|
||||
Reference in New Issue
Block a user