Skip to content

Commit cc63e68

Browse files
committed
artifacts
1 parent 099997c commit cc63e68

File tree

4 files changed

+32
-29
lines changed

4 files changed

+32
-29
lines changed

dist/ui-scroll-jqlite.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* angular-ui-scroll
33
* https://github.com/angular-ui/ui-scroll.git
4-
* Version: 1.3.3 -- 2016-03-17T12:18:01.421Z
4+
* Version: 1.3.3 -- 2016-03-23T14:20:29.512Z
55
* License: MIT
66
*/
77

@@ -231,8 +231,8 @@ angular.module('ui.scroll.jqlite', ['ui.scroll']).service('jqLiteExtras', ['$log
231231
},
232232

233233

234-
/*
235-
The offset setter method is not implemented
234+
/*
235+
The offset setter method is not implemented
236236
*/
237237
offset: function offset(value) {
238238
var docElem = undefined,

dist/ui-scroll-jqlite.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui-scroll.js

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* angular-ui-scroll
33
* https://github.com/angular-ui/ui-scroll.git
4-
* Version: 1.3.3 -- 2016-03-17T12:18:01.421Z
4+
* Version: 1.3.3 -- 2016-03-23T14:20:29.512Z
55
* License: MIT
66
*/
77

@@ -11,17 +11,17 @@
1111

1212
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; };
1313

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)
2525
*/
2626
angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
2727
return {
@@ -135,11 +135,11 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
135135
},
136136

137137

138-
/**
139-
* inserts wrapped element in the buffer
140-
* the first argument is either operation keyword (see below) or a number for operation 'insert'
141-
* for insert the number is the index for the buffer element the new one have to be inserted after
142-
* operations: 'append', 'prepend', 'insert', 'remove', 'update', 'none'
138+
/**
139+
* inserts wrapped element in the buffer
140+
* the first argument is either operation keyword (see below) or a number for operation 'insert'
141+
* for insert the number is the index for the buffer element the new one have to be inserted after
142+
* operations: 'append', 'prepend', 'insert', 'remove', 'update', 'none'
143143
*/
144144
insert: function insert(operation, item) {
145145
var itemScope = $scope.$new();
@@ -568,12 +568,12 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
568568
adapter = angular.extend(adapterOnScope, adapter);
569569
}
570570

571-
/**
572-
* Build padding elements
573-
*
574-
* Calling linker is the only way I found to get access to the tag name of the template
575-
* to prevent the directive scope from pollution a new scope is created and destroyed
576-
* right after the builder creation is completed
571+
/**
572+
* Build padding elements
573+
*
574+
* Calling linker is the only way I found to get access to the tag name of the template
575+
* to prevent the directive scope from pollution a new scope is created and destroyed
576+
* right after the builder creation is completed
577577
*/
578578
linker($scope.$new(), function (template, scope) {
579579
viewport.createPaddingElements(template[0]);
@@ -874,6 +874,9 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
874874

875875
if (pending.length) {
876876
unbindEvents();
877+
} else {
878+
adapter.calculateProperties();
879+
$scope.$apply();
877880
}
878881
}
879882
}

0 commit comments

Comments
 (0)