Closed 3rd-Eden closed 11 years ago
or make it a version.js
that needs to export an object
Yes, that might be a good idea as well. I'll add support for that.
And text editors gonna hate you too
version.js
files are already supported if you do a versions.read('/path/to/versions.js')
as versions#read
uses Node's module system to read and parse JSON files. Just gonna add an extra test against it and make sure that it also tests for javascript files that do not export.
The
versions.json
should be able to be commented. It's not that hard to remove comments from a JSON file before we parse it. It would increase the readability of these formats.