You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Attach resource from mobile
This commit is contained in:
@@ -2,7 +2,7 @@ let shim = {};
|
||||
|
||||
shim.isNode = () => {
|
||||
if (typeof process === 'undefined') return false;
|
||||
return process.title = 'node';
|
||||
return process.title == 'node';
|
||||
};
|
||||
|
||||
shim.isReactNative = () => {
|
||||
@@ -14,5 +14,6 @@ shim.FormData = typeof FormData !== 'undefined' ? FormData : null;
|
||||
shim.fs = null;
|
||||
shim.FileApiDriverLocal = null;
|
||||
shim.readLocalFileBase64 = () => { throw new Error('Not implemented'); }
|
||||
shim.uploadBlob = () => { throw new Error('Not implemented'); }
|
||||
|
||||
export { shim };
|
||||
Reference in New Issue
Block a user