You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
568 B
22 lines
568 B
define([ |
|
"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); |
|
}; |
|
});
|
|
|