(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports", "@angular/core", "../../config/config", "./infinite-scroll"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); var config_1 = require("../../config/config"); var infinite_scroll_1 = require("./infinite-scroll"); /** * @hidden */ var InfiniteScrollContent = (function () { function InfiniteScrollContent(inf, _config) { this.inf = inf; this._config = _config; } /** * @hidden */ InfiniteScrollContent.prototype.ngOnInit = function () { if (!this.loadingSpinner) { this.loadingSpinner = this._config.get('infiniteLoadingSpinner', this._config.get('spinner', 'ios')); } }; InfiniteScrollContent.decorators = [ { type: core_1.Component, args: [{ selector: 'ion-infinite-scroll-content', template: '