|
@@ -36,6 +36,10 @@ module.exports = {
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ if (process.env.NODE_ENV !== 'production') {
|
|
|
|
|
+ _.deprecation.REPEAT()
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// support for item in array syntax
|
|
// support for item in array syntax
|
|
|
var inMatch = this.expression.match(/(.*) in (.*)/)
|
|
var inMatch = this.expression.match(/(.*) in (.*)/)
|
|
|
if (inMatch) {
|
|
if (inMatch) {
|
|
@@ -45,12 +49,6 @@ module.exports = {
|
|
|
// uid as a cache identifier
|
|
// uid as a cache identifier
|
|
|
this.id = '__v_repeat_' + (++uid)
|
|
this.id = '__v_repeat_' + (++uid)
|
|
|
|
|
|
|
|
- if (process.env.NODE_ENV !== 'production') {
|
|
|
|
|
- if (!this.arg) {
|
|
|
|
|
- _.deprecation.REPEAT_ALIAS()
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
// setup anchor nodes
|
|
// setup anchor nodes
|
|
|
this.start = _.createAnchor('v-repeat-start')
|
|
this.start = _.createAnchor('v-repeat-start')
|
|
|
this.end = _.createAnchor('v-repeat-end')
|
|
this.end = _.createAnchor('v-repeat-end')
|