Skip to content

Commit

Permalink
Merge branch 'master' into paddings
Browse files Browse the repository at this point in the history
  • Loading branch information
dhilt committed Apr 4, 2016
2 parents bcbfd31 + 300bfdf commit effe229
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 30 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,11 @@ See [index.html](http://rawgithub.com/angular-ui/ui-scroll/master/demo/index.htm

###History

###v1.4.0
* Migrated sources from CoffeeScript to ES6
* Optimized scroll events handling, removed odd $digest cycles
* Examples (demo) refactoring

###v1.3.3
* Implemented new signature of the Datasource get(descriptor, success) method. See the documentation.
* Implemented new signature of the Adapter reload(startIndex) method. See the documentation.
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-ui-scroll",
"version": "1.3.3",
"version": "1.4.0",
"homepage": "https://github.com/angular-ui/ui-scroll.git",
"description": "AngularJS infinite scrolling module",
"main": "./dist/ui-scroll.js",
Expand Down
6 changes: 3 additions & 3 deletions dist/ui-scroll-jqlite.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* angular-ui-scroll
* https://github.com/angular-ui/ui-scroll.git
* Version: 1.3.3 -- 2016-04-01T15:17:21.448Z
* Version: 1.4.0 -- 2016-04-04T13:14:46.276Z
* License: MIT
*/

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


/*
The offset setter method is not implemented
/*
The offset setter method is not implemented
*/
offset: function offset(value) {
var docElem = undefined,
Expand Down
2 changes: 1 addition & 1 deletion dist/ui-scroll-jqlite.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 23 additions & 23 deletions dist/ui-scroll.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* angular-ui-scroll
* https://github.com/angular-ui/ui-scroll.git
* Version: 1.3.3 -- 2016-04-01T15:17:21.448Z
* Version: 1.4.0 -- 2016-04-04T13:14:46.276Z
* License: MIT
*/

Expand All @@ -11,17 +11,17 @@

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

/*!
globals: angular, window
List of used element methods available in JQuery but not in JQuery Lite
element.before(elem)
element.height()
element.outerHeight(true)
element.height(value) = only for Top/Bottom padding elements
element.scrollTop()
element.scrollTop(value)
/*!
globals: angular, window
List of used element methods available in JQuery but not in JQuery Lite
element.before(elem)
element.height()
element.outerHeight(true)
element.height(value) = only for Top/Bottom padding elements
element.scrollTop()
element.scrollTop(value)
*/
angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
return {
Expand Down Expand Up @@ -137,11 +137,11 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () {
},


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

/**
* Build padding elements
*
* Calling linker is the only way I found to get access to the tag name of the template
* to prevent the directive scope from pollution a new scope is created and destroyed
* right after the builder creation is completed
/**
* Build padding elements
*
* Calling linker is the only way I found to get access to the tag name of the template
* to prevent the directive scope from pollution a new scope is created and destroyed
* right after the builder creation is completed
*/
linker($scope.$new(), function (template, scope) {
viewport.createPaddingElements(template[0]);
Expand Down
2 changes: 1 addition & 1 deletion dist/ui-scroll.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-ui-scroll",
"description": "two way infinite scroll",
"version": "1.3.3",
"version": "1.4.0",
"src": "./src/",
"public": "./public/",
"main": "./dist/ui-scroll.js",
Expand Down

0 comments on commit effe229

Please sign in to comment.