Tristan Caron
02/28/2017, 3:38 PMHTMLButtonElement but just HTMLElement. In this case, no need to add the parameter extends to the define method.
I get another error. It's not illegal anymore it's
Uncaught TypeError: Failed to construct 'HTMLElement': Please use the 'new' operator, this DOM object constructor cannot be called as a function.
at new FancyButton (dashlin-gui.js:16) and I get the same error in babel when I target es5. Babel doesn't support it yet 🙂