From f0cfe83e3725f9a3928da97a6e3085e79cb25309 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 18 Mar 2013 10:26:24 +0400 Subject: upgrade dojo to 1.8.3 (refs #570) --- lib/dijit/_base/manager.js.uncompressed.js | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 lib/dijit/_base/manager.js.uncompressed.js (limited to 'lib/dijit/_base/manager.js.uncompressed.js') diff --git a/lib/dijit/_base/manager.js.uncompressed.js b/lib/dijit/_base/manager.js.uncompressed.js new file mode 100644 index 000000000..b4e2729ae --- /dev/null +++ b/lib/dijit/_base/manager.js.uncompressed.js @@ -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 :-( +}); -- cgit v1.2.3