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/scroll.js.uncompressed.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 lib/dijit/_base/scroll.js.uncompressed.js (limited to 'lib/dijit/_base/scroll.js.uncompressed.js') diff --git a/lib/dijit/_base/scroll.js.uncompressed.js b/lib/dijit/_base/scroll.js.uncompressed.js new file mode 100644 index 000000000..41f8962e4 --- /dev/null +++ b/lib/dijit/_base/scroll.js.uncompressed.js @@ -0,0 +1,22 @@ +define("dijit/_base/scroll", [ + "dojo/window", // windowUtils.scrollIntoView + "../main" // export symbol to dijit +], function(windowUtils, dijit){ + // module: + // dijit/_base/scroll + + /*===== + return { + // summary: + // Back compatibility module, new code should use windowUtils directly instead of using this module. + }; + =====*/ + + dijit.scrollIntoView = function(/*DomNode*/ node, /*Object?*/ pos){ + // summary: + // Scroll the passed node into view, if it is not already. + // Deprecated, use `windowUtils.scrollIntoView` instead. + + windowUtils.scrollIntoView(node, pos); + }; +}); -- cgit v1.2.3