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

JSON configuration (coming soon, now?) #8

Open
drewwells opened this issue Jul 25, 2011 · 1 comment
Open

JSON configuration (coming soon, now?) #8

drewwells opened this issue Jul 25, 2011 · 1 comment

Comments

@drewwells
Copy link
Contributor

I added CommonJS module support for configuration. Standard JSON seems to be ... difficult to load and convert to a JavaScript object, so I just used module.exports and it's one LOC to load it.

If reusing the commit is problematic, I can branch or something. JSON loading is generic enough it should go into lib anyways.

See code here: drewwells/jodoc-js@0a111f4

Edit: Path lookup fixes (allowing relative lookup of files) drewwells/jodoc-js@779fa05

@drewwells
Copy link
Contributor Author

I'm fixing stupid shit I've done in my branch, I'll get this in a pull request soon

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

1 participant