mirror of https://github.com/vuejs/vue.git
trigger binding notify in the same order they are added
This commit is contained in:
parent
8ac21629c0
commit
ed72137138
|
|
@ -42,8 +42,7 @@ p.removeSub = function (sub) {
|
|||
*/
|
||||
|
||||
p.notify = function () {
|
||||
var i = this.subs.length
|
||||
while (i--) {
|
||||
for (var i = 0, l = this.subs.length; i < l; i++) {
|
||||
this.subs[i].update()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue