Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// // Edge (IE 12+) => return version number
// // return parseInt( ua.substring( edge + 5, ua.indexOf( '.', edge ) ), 10 );
// return true;
// }
// // other browser
// return false;
return ua.includes('MSIE ') || ua.includes('Trident/') || ua.includes('Edge/');
};
LayoutAuthComponent = __decorate([
core_1.Component({
selector: 'app-layouts-auth',
templateUrl: './auth.html'
}),
__metadata("design:paramtypes", [user_service_1.UserService,
menu_service_1.MenuService,
angular2_toaster_1.ToasterService,
translate_service_1.TranslateService,
router_1.ActivatedRoute])
], LayoutAuthComponent);
return LayoutAuthComponent;
}());
exports.LayoutAuthComponent = LayoutAuthComponent;