Skip to content

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Nov 21, 2016
1 parent ff4b421 commit cee48f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions client.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,10 @@ function Client (options) {
})

var app = this
this.unbind = []

this.unbind.push(this.sync.on('synced', function () {
this.sync.on('synced', function () {
app.saveToLS('Synced', app.sync.synced)
app.saveToLS('OtherSynced', app.sync.otherSynced)
}))
})
}

Client.prototype = {
Expand Down

0 comments on commit cee48f4

Please sign in to comment.