Tired of writing:
Would rather write:
// Returns `JSON.parse(localStorage[self.settings.localStorageName])`
This should also be a public API method so devs can get files out without affecting the GUI.
@johnmdonahue This is done and working, just have to write tests, but the naming part is the hardest. I went with fileList([name]). How do you feel about that? I wanted to do file or files but that felt like you should be able to do more with it like import and export. I was thinking about the Node and thought of fs, but too vague. Any other ideas?
Think it should maybe be getFiles() to match getElements() and the fact we have a sort of actionNoun thing going too with importFile, exportFile, getElements, etc.
Ticket #85 - First steps to getting fileList working
Ticket #85 - Added docs for fileList
Ticket #85 - Renamed fileList to getFiles to match other API methods
Ticket #85 - Added tests for getFile
Late to the party but +1 on getFiles()