aikuma / aikuma-ng

Speech annotation web app for regular folk
22 stars 13 forks source link

Alpha 14-b. data/login-service based on indexedDB #2

Closed lisaslyis closed 8 years ago

lisaslyis commented 8 years ago
eg)
dataService.get('user', 'user1@gmail.com').then(function(obj) { //callback
    console.log(obj.data);             // obj.data has all data
    obj.addUserTag(something);  // This function will add a tag to obj.data.tags
    obj.save();                              // This function will save obj.data in disk
});