Florian Cargoët
Florian Cargoët
Yes, without this, the same global `__filename ` is overwritten for each file.
Another weird thing about storage: - `set` can specify the format - `get` can't.
Since `storage` can only store string, we should either encode everything in JSON at the storage level or only accept strings. If we delegate encoding to the caller, we should...
That's not what I meant. You declare either get(id) or get(id, format) on the ink side but the JS function exposed is a version that only that id, whereas the...
Something doesn't work. When calling set from memorycard, the `this` arg is storage so your new arg `story = this` means `story = storage` Then storage.options.storage_ID is not the same...
Also, storage.remove now want the story as first param whereas it was bound before. In any case, the API should be similar to get/set.
I'm interested in this too :)