Created
October 24, 2017 19:11
-
-
Save raucao/9f3f5fc0c21b9d92db0d2bffad9a4c29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const RemoteStorage = require('remotestoragejs') | |
const remoteStorage = new RemoteStorage({logging: true}) | |
remoteStorage.on('ready', () => console.log('READY')) | |
remoteStorage.on('connected', () => console.log('CONNECTED')) | |
remoteStorage.on('not-connected', () => console.log('NOT CONNECTED')) | |
setTimeout(() => { console.log('good bye') }, 3000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment