source: Dev/trunk/src/client/dijit/_base/scroll.js @ 483

Last change on this file since 483 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 568 bytes
Line 
1define([
2        "dojo/window", // windowUtils.scrollIntoView
3        "../main"       // export symbol to dijit
4], function(windowUtils, dijit){
5        // module:
6        //              dijit/_base/scroll
7
8        /*=====
9        return {
10                // summary:
11                //              Back compatibility module, new code should use windowUtils directly instead of using this module.
12        };
13        =====*/
14
15        dijit.scrollIntoView = function(/*DomNode*/ node, /*Object?*/ pos){
16                // summary:
17                //              Scroll the passed node into view, if it is not already.
18                //              Deprecated, use `windowUtils.scrollIntoView` instead.
19
20                windowUtils.scrollIntoView(node, pos);
21        };
22});
Note: See TracBrowser for help on using the repository browser.