diff options
Diffstat (limited to 'lib/dijit/_base/scroll.js.uncompressed.js')
-rw-r--r-- | lib/dijit/_base/scroll.js.uncompressed.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/dijit/_base/scroll.js.uncompressed.js b/lib/dijit/_base/scroll.js.uncompressed.js new file mode 100644 index 000000000..6de65e593 --- /dev/null +++ b/lib/dijit/_base/scroll.js.uncompressed.js @@ -0,0 +1,17 @@ +define("dijit/_base/scroll", [ + "dojo/window", // windowUtils.scrollIntoView + ".." // export symbol to dijit +], function(windowUtils, dijit){ + // module: + // dijit/_base/scroll + // 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); + }; +}); |