smart-house-frontend
Version:
2 lines • 1.91 kB
JavaScript
webpackJsonp([6],{610:function(t,e,o){"use strict";var n=this&&this.__decorate||function(t,e,o,n){var r,c=arguments.length,i=c<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,o,n);else for(var u=t.length-1;u>=0;u--)(r=t[u])&&(i=(c<3?r(i):c>3?r(e,o,i):r(e,o))||i);return c>3&&i&&Object.defineProperty(e,o,i),i},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=o(3),i=o(389),u=o(387),f=o(611),a=o(612),p=function(){function e(){}return e=n([c.NgModule({id:t.id,imports:[u.SharedModule,i.FormsModule,a.routing],declarations:[f.LogoutComponent]}),r("design:paramtypes",[])],e)}();e.LogoutModule=p},611:function(t,e,o){"use strict";var n=this&&this.__decorate||function(t,e,o,n){var r,c=arguments.length,i=c<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,o):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,o,n);else for(var u=t.length-1;u>=0;u--)(r=t[u])&&(i=(c<3?r(i):c>3?r(e,o,i):r(e,o))||i);return c>3&&i&&Object.defineProperty(e,o,i),i},r=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},c=o(3),i=o(29),u=o(77),f=function(){function t(t,e){this.auth=t,this.router=e}return t.prototype.ngOnInit=function(){this.auth.logout(),this.router.navigate(["/"])},t=n([c.Component({selector:"sh-logout",template:""}),r("design:paramtypes",["function"==typeof(e="undefined"!=typeof u.AuthService&&u.AuthService)&&e||Object,"function"==typeof(o="undefined"!=typeof i.Router&&i.Router)&&o||Object])],t);var e,o}();e.LogoutComponent=f},612:function(t,e,o){"use strict";var n=o(29),r=o(611);e.routes=[{path:"",component:r.LogoutComponent}],e.routing=n.RouterModule.forChild(e.routes)}});
//# sourceMappingURL=6.map