Skip to content

Commit

Permalink
artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
dhilt committed Mar 23, 2016
1 parent 099997c commit cc63e68
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 29 deletions.
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-03-17T12:18:01.421Z
* Version: 1.3.3 -- 2016-03-23T14:20:29.512Z
* 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.

49 changes: 26 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-03-17T12:18:01.421Z
* Version: 1.3.3 -- 2016-03-23T14:20:29.512Z
* 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 @@ -135,11 +135,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 @@ -568,12 +568,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 Expand Up @@ -874,6 +874,9 @@ angular.module('ui.scroll', []).directive('uiScrollViewport', function () {

if (pending.length) {
unbindEvents();
} else {
adapter.calculateProperties();
$scope.$apply();
}
}
}
Expand Down
Loading

0 comments on commit cc63e68

Please sign in to comment.