Skip to content

Commit

Permalink
updated bundle for 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
orizens committed Mar 1, 2017
1 parent 8ca87b7 commit 18f6c88
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions bundles/angular2-infinite-scroll.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,13 +324,13 @@ System.registerDynamic('src/index', ['@angular/core', './infinite-scroll', './ax
}();
exports.InfiniteScrollModule = InfiniteScrollModule;
});
System.registerDynamic('src/scroll-register', ['@angular/core', 'rxjs/Rx', 'rxjs/add/observable/fromEvent', 'rxjs/add/observable/timer', 'rxjs/add/observable/of', 'rxjs/add/operator/debounce', 'rxjs/add/operator/throttle', 'rxjs/add/operator/filter'], true, function ($__require, exports, module) {
System.registerDynamic('src/scroll-register', ['@angular/core', 'rxjs/Observable', 'rxjs/add/observable/fromEvent', 'rxjs/add/observable/timer', 'rxjs/add/observable/of', 'rxjs/add/operator/debounce', 'rxjs/add/operator/throttle', 'rxjs/add/operator/filter'], true, function ($__require, exports, module) {
"use strict";

var global = this || self,
GLOBAL = global;
var core_1 = $__require('@angular/core');
var Rx_1 = $__require('rxjs/Rx');
var Observable_1 = $__require('rxjs/Observable');
$__require('rxjs/add/observable/fromEvent');
$__require('rxjs/add/observable/timer');
$__require('rxjs/add/observable/of');
Expand All @@ -340,10 +340,10 @@ System.registerDynamic('src/scroll-register', ['@angular/core', 'rxjs/Rx', 'rxjs
var ScrollRegister = function () {
function ScrollRegister() {}
ScrollRegister.prototype.attachEvent = function (options) {
var scroller$ = Rx_1.Observable.fromEvent(options.container, 'scroll')[options.throttleType](function () {
return Rx_1.Observable.timer(options.throttleDuration);
var scroller$ = Observable_1.Observable.fromEvent(options.container, 'scroll')[options.throttleType](function () {
return Observable_1.Observable.timer(options.throttleDuration);
}).filter(options.filterBefore).mergeMap(function (ev) {
return Rx_1.Observable.of(options.mergeMap(ev));
return Observable_1.Observable.of(options.mergeMap(ev));
}).subscribe(options.scrollHandler);
return scroller$;
};
Expand Down

0 comments on commit 18f6c88

Please sign in to comment.