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

How to handle absolute path #193

Open
ArnaudBuchholz opened this issue Oct 7, 2017 · 0 comments
Open

How to handle absolute path #193

ArnaudBuchholz opened this issue Oct 7, 2017 · 0 comments
Assignees

Comments

@ArnaudBuchholz
Copy link
Owner

For gpf.require (#168), I have to load resources from "/test/require/data.json". It works with Web because the root matches but when dealing with real file system I need to translate the root.
Today, the solution consists in using "./" but it might be interesting to offer an API to handle that differently.

@ArnaudBuchholz ArnaudBuchholz self-assigned this Oct 7, 2017
ArnaudBuchholz added a commit that referenced this issue Oct 7, 2017
Temporary absolute path fix (#193)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant