Example #1
0
 this.remote.remove(publicId).then(_.bind(function (url) {
   remoteStorage.sync.sync().then(_.bind(function () {
     this.model.set('public', null)
   }, this))
 }, this))
Example #2
0
 this.remote.addRaw('text/html', html).then(_.bind(function (url) {
   remoteStorage.sync.sync().then(_.bind(function () {
     this.model.set('public', url)
   }, this))
 }, this))