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

Bug @core.js #10

Open Leon02 opened 6 years ago

Leon02 commented 6 years ago

I'm new to X-Tag and I kept getting the following error:

core.js Uncaught ReferenceError: XTagElement is not defined

After modifying XTagElement = createClass(); to var XTagElement = createClass(); my error was gone and everything worked as expected.

https://github.com/x-tag/core-2/blob/9c5d940ab6d0ca5ff5e758d19dcc74a33af30c90/src/core.js#L231

ghost commented 6 years ago

I'm not the maintainer of the project, but was wondering if you mind providing platform specs/browser @Leon02. I've found the same thing but haven't resolved it on all platforms, [apple] specifically.

ghost commented 6 years ago

other related issues: https://github.com/x-tag/core/issues/200 https://github.com/x-tag/core/issues/197

Leon02 commented 6 years ago

Sorry for the late response, but I'm running on Windows 10 64bit with Chrome browser.

ghost commented 6 years ago

Thanks @Leon02 for the info.