Skip to content

Commit

Permalink
fixed missing init of super call
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyOGo committed Nov 12, 2018
1 parent 49ff871 commit d5589b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stack/tasks/create-a-m-o.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ const writeIndexJs = (path, _name) => {
// never use the constructor directly, we call init for you with the proper context
// @link https://github.com/WebReflection/document-register-element#v1-caveat
init() {
super({ styles, template });
super.init({ styles, template });
// does this provide context (See docs for context) ?
// this.provideContext()
Expand Down

0 comments on commit d5589b7

Please sign in to comment.