1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

getting sync work in RN

This commit is contained in:
Laurent Cozic
2017-07-06 19:48:17 +00:00
parent 1c6b569795
commit 5802adc9f1
7 changed files with 99 additions and 55 deletions

View File

@ -12,15 +12,6 @@ class OneDriveApi {
};
}
static instance() {
if (this.instance_) return this.instance_;
const CLIENT_ID = 'e09fc0de-c958-424f-83a2-e56a721d331b';
const CLIENT_SECRET = 'JA3cwsqSGHFtjMwd5XoF5L5';
this.instance_ = new OneDriveApi(CLIENT_ID, CLIENT_SECRET);
return this.instance_;
}
dispatch(eventName, param) {
let ls = this.listeners_[eventName];
for (let i = 0; i < ls.length; i++) {