Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
AppComponent.prototype.ngOnInit = function () {
window.addEventListener('online', this.updateOnlineOfflineIndicator);
window.addEventListener('offline', this.updateOnlineOfflineIndicator);
this.updateOnlineOfflineIndicator();
};
AppComponent.prototype.login = function () {
this.af.auth.login();
};
AppComponent = __decorate([
core_1.Component({
moduleId: module.id,
selector: 'invest-systems-org',
templateUrl: 'app.component.html',
styleUrls: ['app.component.css'],
directives: [sidenav_1.MD_SIDENAV_DIRECTIVES, router_1.ROUTER_DIRECTIVES, toolbar_1.MdToolbar, button_1.MD_BUTTON_DIRECTIVES, icon_1.MdIcon, spinner_component_1.SpinnerComponent],
providers: [
,
store_1.provideStore({ areas: area_reducer_1.areasReducer }),
]
}),
__metadata('design:paramtypes', [angularfire2_1.AngularFire])
], AppComponent);
return AppComponent;
}());
exports.AppComponent = AppComponent;