webui-aria2/js/libs/dijit/_base/scroll.js.uncompressed.js
2012-05-01 19:52:07 +08:00

19 lines
560 B
JavaScript

//>>built
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);
};
});