Skip to content

Commit 126bf11

Browse files
committed
feat(uiScrollView) typo in documentation
1 parent a03dd6c commit 126bf11

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Gruntfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ module.exports = function (grunt) {
3636
'src/urlRouter.js',
3737
'src/state.js',
3838
'src/view.js',
39-
'src/viewScrollProvider.js',
39+
'src/viewScroll.js',
4040
'src/viewDirective.js',
4141
'src/stateDirectives.js',
4242
'src/compat.js'

config/karma.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ module.exports = function (karma) {
1919
'src/urlRouter.js',
2020
'src/view.js',
2121
'src/state.js',
22-
'src/viewScrollProvider.js',
22+
'src/viewScroll.js',
2323
'src/viewDirective.js',
2424
'src/stateDirectives.js',
2525
'src/stateFilters.js',

src/viewScrollProvider.js renamed to src/viewScroll.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/**
2-
* @ngdoc directive
2+
* @ngdoc provider
33
* @name ui.router.state.$uiViewScroll
44
*
55
* @requires $anchorScroll
66
* @requires $timeout
77
*
88
* @description
99
* When called with a jqLite element, it scrolls the element into view (after a
10-
* `$timeout`, so the DOM had time to refresh).
10+
* `$timeout` so the DOM has time to refresh).
1111
*
1212
* If you prefer to rely on `$anchorScroll` to scroll the view to the anchor,
13-
* this can be enabled by calling `$uiViewScroll.useAnchorScroll()`.
13+
* this can be enabled by calling `$uiViewScrollProvider.useAnchorScroll()`.
1414
*/
1515
function $ViewScrollProvider() {
1616

test/debug.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = function(config) {
2121
'../src/urlRouter.js',
2222
'../src/view.js',
2323
'../src/state.js',
24-
'../src/viewScrollProvider.js',
24+
'../src/viewScroll.js',
2525
'../src/viewDirective.js',
2626
'../src/stateDirectives.js',
2727
'../src/compat.js',
File renamed without changes.

0 commit comments

Comments
 (0)