1
0
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:
Laurent Cozic
2017-08-01 23:40:14 +02:00
parent 7fe70696bb
commit 19266206f4
14 changed files with 131 additions and 25 deletions

View File

@@ -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 };