Skip to content

Commit cee48f4

Browse files
committed
Clean up code
1 parent ff4b421 commit cee48f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

client.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,10 @@ function Client (options) {
107107
})
108108

109109
var app = this
110-
this.unbind = []
111-
112-
this.unbind.push(this.sync.on('synced', function () {
110+
this.sync.on('synced', function () {
113111
app.saveToLS('Synced', app.sync.synced)
114112
app.saveToLS('OtherSynced', app.sync.otherSynced)
115-
}))
113+
})
116114
}
117115

118116
Client.prototype = {

0 commit comments

Comments
 (0)