-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
There is an issue with native class controllers in Chrome. Controller like this:
alight.ctrl.test = class {
constructor() {;
this.value = 1;
}
};and html like this:
<div al-ctrl="test"></div>could not be initialised due to new error:
Error in controller: test Class constructor cannot be invoked without 'new' Object {name: "test", env: Object, scope: d, element: div} TypeError: Class constructor cannot be invoked without 'new'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels