Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import classes from other files? #39

Closed
everystone opened this issue Jul 29, 2016 · 3 comments
Closed

Import classes from other files? #39

everystone opened this issue Jul 29, 2016 · 3 comments

Comments

@everystone
Copy link

everystone commented Jul 29, 2016

Is import not supported in Player.js?

import { MyClass } from './class.js' results in Cannot read property playTurn of null

Have anyone found a workaround? Great game btw!

@olistic
Copy link
Owner

olistic commented May 3, 2018

Hello @everystone, I'm closing old issues to create a fresh backlog for the project. I'll evaluate your issue and consider adding it to the backlog. Thanks!

@olistic olistic closed this as completed May 3, 2018
@hexpunk
Copy link

hexpunk commented May 13, 2018

@olistic I also ran into this one. It would be nice to be able to split up my code into units that make a little more sense, maybe with .mjs Node modules. Do you want me (or @everystone) to open a new ticket for this?

@olistic
Copy link
Owner

olistic commented May 13, 2018

Hello @jayandcatchfire, thanks for your interest in the project. Yeah, go for it! I'm open to receive a PR that adds that capability. Thanks again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants