Skip to content

Commit effe229

Browse files
committed
Merge branch 'master' into paddings
2 parents bcbfd31 + 300bfdf commit effe229

7 files changed

+35
-30
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,11 @@ See [index.html](http://rawgithub.com/angular-ui/ui-scroll/master/demo/index.htm
210210

211211
###History
212212

213+
###v1.4.0
214+
* Migrated sources from CoffeeScript to ES6
215+
* Optimized scroll events handling, removed odd $digest cycles
216+
* Examples (demo) refactoring
217+
213218
###v1.3.3
214219
* Implemented new signature of the Datasource get(descriptor, success) method. See the documentation.
215220
* Implemented new signature of the Adapter reload(startIndex) method. See the documentation.

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-scroll",
3-
"version": "1.3.3",
3+
"version": "1.4.0",
44
"homepage": "https://github.com/angular-ui/ui-scroll.git",
55
"description": "AngularJS infinite scrolling module",
66
"main": "./dist/ui-scroll.js",

dist/ui-scroll-jqlite.js

+3-3
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-04-01T15:17:21.448Z
4+
* Version: 1.4.0 -- 2016-04-04T13:14:46.276Z
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

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ui-scroll.js

+23-23
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-04-01T15:17:21.448Z
4+
* Version: 1.4.0 -- 2016-04-04T13:14:46.276Z
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 {
@@ -137,11 +137,11 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
137137
},
138138

139139

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'
145145
*/
146146
insert: function insert(operation, item) {
147147
var itemScope = $scope.$new();
@@ -650,12 +650,12 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
650650
adapter = angular.extend(adapterOnScope, adapter);
651651
}
652652

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
659659
*/
660660
linker($scope.$new(), function (template, scope) {
661661
viewport.createPaddingElements(template[0]);

dist/ui-scroll.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-ui-scroll",
33
"description": "two way infinite scroll",
4-
"version": "1.3.3",
4+
"version": "1.4.0",
55
"src": "./src/",
66
"public": "./public/",
77
"main": "./dist/ui-scroll.js",

0 commit comments

Comments
 (0)