Skip to content

Commit 12dfd60

Browse files
committed
remove no longer needed private props
1 parent 90799e8 commit 12dfd60

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/directives/repeat.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,6 @@ module.exports = {
271271
}
272272
} else { // new instance
273273
vm = this.build(obj, i, true)
274-
// the _new flag is used in the second pass for
275-
// vm cache retrival, but if this is the init phase
276-
// the flag can just be set to false directly.
277-
vm._new = !init
278274
vm._reused = false
279275
}
280276
vms[i] = vm
@@ -330,7 +326,6 @@ module.exports = {
330326
vm.$before(nextEl)
331327
}
332328
}
333-
vm._new = false
334329
vm._reused = false
335330
}
336331
if (activeElement) {
@@ -377,9 +372,6 @@ module.exports = {
377372
inherit: this.inherit,
378373
template: this.inlineTempalte
379374
}, Ctor)
380-
// flag this instance as a repeat instance
381-
// so that we can skip it in vm._digest
382-
vm._repeat = true
383375
// cache instance
384376
if (needCache) {
385377
this.cacheVm(raw, vm, index, this.converted ? meta.$key : null)

src/instance/init.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ exports._init = function (options) {
6363
}
6464

6565
// props used in v-repeat diffing
66-
this._new = true
6766
this._reused = false
6867

6968
// merge options.

0 commit comments

Comments
 (0)