filesystem.client.js 310 B

12345678910
  1. // On the client we have just a shell
  2. FS.Store.FileSystem = function(name, options) {
  3. var self = this;
  4. if (!(self instanceof FS.Store.FileSystem))
  5. throw new Error('FS.Store.FileSystem missing keyword "new"');
  6. return new FS.StorageAdapter(name, options, {
  7. typeName: 'storage.filesystem'
  8. });
  9. };