Closed Spacerat closed 8 years ago
This enables creating and editing .json files on CloudPebble, and also includes some related changed/refactoring. A detailed list of changes:
.json
filename.endswith()
editor.js
file_kind
is_js
.monkey
init_create_prompt()
.then(...).catch(...)
(Branched from #321)
Geronimo!
This enables creating and editing
.json
files on CloudPebble, and also includes some related changed/refactoring. A detailed list of changes:.json
added to the database validation regex for valid source file names.json
included in places which checkfilename.endswith()
(i.e. import/export code)editor.js
...file_kind
instead of theis_js
flag. This is the same change made to support.monkey
files in the test-bench branch.init_create_prompt()
to factor out the repeated.then(...).catch(...)
for each kind of file..json
files to get accurate real time json linting.(Branched from #321)