You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this styleguid to build my app. export const SidebarComponent = { templateUrl: '../app/components/common/sidebar/sidebar.component.html', controller: class SidebarComponentController { constructor() { } $onInit() { this.list = [] } } }
It works on Chrome and Safari but on Firefox it throws me an error: class constructors must be invoked with |new|
I there any way to fix it ?
The text was updated successfully, but these errors were encountered:
Hello.
I have a problem with my component's code.
I use this styleguid to build my app.
export const SidebarComponent = { templateUrl: '../app/components/common/sidebar/sidebar.component.html', controller: class SidebarComponentController { constructor() { } $onInit() { this.list = [] } } }
It works on Chrome and Safari but on Firefox it throws me an error:
class constructors must be invoked with |new|
I there any way to fix it ?
The text was updated successfully, but these errors were encountered: