Skip to content

Commit

Permalink
Report PR mikeric#546 on ES6 branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Christophe Cazeaux committed Feb 8, 2016
1 parent c2153e6 commit dd7ac1f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/adapter.js
Expand Up @@ -144,10 +144,8 @@ const adapter = {
let callbacks = map.callbacks

if (callbacks[keypath]) {
callbacks[keypath].slice().forEach(callback => {
if (callbacks[keypath].indexOf(callback) > -1) {
callback()
}
callbacks[keypath].forEach(cb => {
cb()
})
}

Expand Down

0 comments on commit dd7ac1f

Please sign in to comment.