mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
11 lines
310 B
JavaScript
11 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'
|
||
|
|
});
|
||
|
|
};
|