1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-07-17 15:07:33 +02:00
ttrss/lib/dijit/_base/scroll.js.uncompressed.js
2013-03-18 10:26:26 +04:00

23 lines
590 B
JavaScript

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