Skip to content

Commit

Permalink
Merge pull request mikeric#543 from blikblum/fix-exception-with-jquery
Browse files Browse the repository at this point in the history
Don't use view.els.forEach to avoid exception when jquery is used
Report PR mikeric#546 on ES6 branch
  • Loading branch information
blikblum committed Aug 3, 2016
1 parent c242ca5 commit e1443ba
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 e1443ba

Please sign in to comment.