mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 22:17:16 -04:00
10 lines
310 B
JavaScript
10 lines
310 B
JavaScript
// On the client we have just a shell
|
|
FS.Store.FileSystem = function(name, options) {
|
|
var self = this;
|
|
if (!(self instanceof FS.Store.FileSystem))
|
|
throw new Error('FS.Store.FileSystem missing keyword "new"');
|
|
|
|
return new FS.StorageAdapter(name, options, {
|
|
typeName: 'storage.filesystem'
|
|
});
|
|
};
|