x-tag / core-2

X-Tag 2 - A tiny Web Components library that packs a big punch
MIT License
37 stars 8 forks source link

constructor() class method keep's throwing an exception #4

Open PikioopSo opened 7 years ago

PikioopSo commented 7 years ago

The exception is:

ReferenceError: |this| used uninitialized in anonymous class constructor

When I create a class using:

xtag.create( class extends xtag.extensions(myExt){ constructor() { } } );

It throws the error. When the constructor() method is not used it does not appear. I believe it is a scoping problem.

PikioopSo commented 7 years ago

I found another missed placed token in the script I was working on. @csuwildcat .

Thanks for all the help.