We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 545c5a8 commit 65b6792Copy full SHA for 65b6792
src/ui-scroll.js
@@ -5,6 +5,10 @@ import Viewport from './modules/viewport.js';
5
import Adapter from './modules/adapter.js';
6
7
angular.module('ui.scroll', [])
8
+ .service('jqLiteExtras', () => new JQLiteExtras())
9
+ .run(['jqLiteExtras', (jqLiteExtras) =>
10
+ !window.jQuery ? jqLiteExtras.registerFor(angular.element) : null
11
+ ])
12
.directive('uiScrollViewport', function () {
13
return {
14
restrict: 'A',
@@ -441,8 +445,4 @@ angular.module('ui.scroll', [])
441
445
}
442
446
443
447
444
- ])
- .service('jqLiteExtras', () => new JQLiteExtras())
- .run(['jqLiteExtras', (jqLiteExtras) =>
- !window.jQuery ? jqLiteExtras.registerFor(angular.element) : null
448
]);
0 commit comments