|
1 | 1 | /*! |
2 | 2 | * angular-ui-scroll |
3 | 3 | * https://github.com/angular-ui/ui-scroll.git |
4 | | - * Version: 1.3.3 -- 2016-04-01T15:17:21.448Z |
| 4 | + * Version: 1.4.0 -- 2016-04-04T13:14:46.276Z |
5 | 5 | * License: MIT |
6 | 6 | */ |
7 | 7 |
|
|
11 | 11 |
|
12 | 12 | var _typeof = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === 'function' && obj.constructor === Symbol ? 'symbol' : typeof obj; }; |
13 | 13 |
|
14 | | -/*! |
15 | | - globals: angular, window |
16 | | -
|
17 | | - List of used element methods available in JQuery but not in JQuery Lite |
18 | | -
|
19 | | - element.before(elem) |
20 | | - element.height() |
21 | | - element.outerHeight(true) |
22 | | - element.height(value) = only for Top/Bottom padding elements |
23 | | - element.scrollTop() |
24 | | - element.scrollTop(value) |
| 14 | +/*! |
| 15 | + globals: angular, window |
| 16 | +
|
| 17 | + List of used element methods available in JQuery but not in JQuery Lite |
| 18 | +
|
| 19 | + element.before(elem) |
| 20 | + element.height() |
| 21 | + element.outerHeight(true) |
| 22 | + element.height(value) = only for Top/Bottom padding elements |
| 23 | + element.scrollTop() |
| 24 | + element.scrollTop(value) |
25 | 25 | */ |
26 | 26 | angular.module('ui.scroll', []).directive('uiScrollViewport', function () { |
27 | 27 | return { |
@@ -137,11 +137,11 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () { |
137 | 137 | }, |
138 | 138 |
|
139 | 139 |
|
140 | | - /** |
141 | | - * inserts wrapped element in the buffer |
142 | | - * the first argument is either operation keyword (see below) or a number for operation 'insert' |
143 | | - * for insert the number is the index for the buffer element the new one have to be inserted after |
144 | | - * operations: 'append', 'prepend', 'insert', 'remove', 'update', 'none' |
| 140 | + /** |
| 141 | + * inserts wrapped element in the buffer |
| 142 | + * the first argument is either operation keyword (see below) or a number for operation 'insert' |
| 143 | + * for insert the number is the index for the buffer element the new one have to be inserted after |
| 144 | + * operations: 'append', 'prepend', 'insert', 'remove', 'update', 'none' |
145 | 145 | */ |
146 | 146 | insert: function insert(operation, item) { |
147 | 147 | var itemScope = $scope.$new(); |
@@ -650,12 +650,12 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () { |
650 | 650 | adapter = angular.extend(adapterOnScope, adapter); |
651 | 651 | } |
652 | 652 |
|
653 | | - /** |
654 | | - * Build padding elements |
655 | | - * |
656 | | - * Calling linker is the only way I found to get access to the tag name of the template |
657 | | - * to prevent the directive scope from pollution a new scope is created and destroyed |
658 | | - * right after the builder creation is completed |
| 653 | + /** |
| 654 | + * Build padding elements |
| 655 | + * |
| 656 | + * Calling linker is the only way I found to get access to the tag name of the template |
| 657 | + * to prevent the directive scope from pollution a new scope is created and destroyed |
| 658 | + * right after the builder creation is completed |
659 | 659 | */ |
660 | 660 | linker($scope.$new(), function (template, scope) { |
661 | 661 | viewport.createPaddingElements(template[0]); |
|
0 commit comments