]>
git.wh0rd.org - tt-rss.git/blob - lib/dijit/_base/scroll.js.uncompressed.js
1 define("dijit/_base/scroll", [
2 "dojo/window", // windowUtils.scrollIntoView
3 "../main" // export symbol to dijit
4 ], function(windowUtils
, dijit
){
11 // Back compatibility module, new code should use windowUtils directly instead of using this module.
15 dijit
.scrollIntoView = function(/*DomNode*/ node
, /*Object?*/ pos
){
17 // Scroll the passed node into view, if it is not already.
18 // Deprecated, use `windowUtils.scrollIntoView` instead.
20 windowUtils
.scrollIntoView(node
, pos
);