curran / curran/example-viewer
Use file listing format that magicSandbox expects
Open
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
This would allow this code to go away:
```js
// Transform into the format that magicSandbox expects.
// TODO make this the overall format? Seems better, more explicit.
const files = {};
Object.keys(loadedFiles).forEach(function (name){
files[name] = {
content : loadedFiles[name]
};
});
```
It would also allow more fields on individual files, like "loaded", "fetching".
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.