Skip to content

Commit

Permalink
build: build 2.5.21
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 11, 2018
1 parent 847e493 commit b449e17
Show file tree
Hide file tree
Showing 14 changed files with 83 additions and 61 deletions.
19 changes: 11 additions & 8 deletions dist/vue.common.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2903,7 +2903,7 @@ function mountComponent (
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
Expand Down Expand Up @@ -3844,9 +3844,10 @@ function renderList (
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}

Expand Down Expand Up @@ -5188,7 +5189,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.20';
Vue.version = '2.5.21';

/* */

Expand Down Expand Up @@ -6846,7 +6847,7 @@ function genComponentModel (

el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
Expand Down Expand Up @@ -9467,7 +9468,7 @@ function processKey (el) {
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$2(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
Expand Down Expand Up @@ -10584,7 +10585,9 @@ function genChildren (
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip
Expand Down
19 changes: 11 additions & 8 deletions dist/vue.esm.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2901,7 +2901,7 @@ function mountComponent (
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
Expand Down Expand Up @@ -3842,9 +3842,10 @@ function renderList (
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}

Expand Down Expand Up @@ -5186,7 +5187,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.20';
Vue.version = '2.5.21';

/* */

Expand Down Expand Up @@ -6844,7 +6845,7 @@ function genComponentModel (

el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
Expand Down Expand Up @@ -9465,7 +9466,7 @@ function processKey (el) {
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$2(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
Expand Down Expand Up @@ -10582,7 +10583,9 @@ function genChildren (
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip
Expand Down
19 changes: 11 additions & 8 deletions dist/vue.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2899,7 +2899,7 @@
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
Expand Down Expand Up @@ -3833,9 +3833,10 @@
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}

Expand Down Expand Up @@ -5170,7 +5171,7 @@
value: FunctionalRenderContext
});

Vue.version = '2.5.20';
Vue.version = '2.5.21';

/* */

Expand Down Expand Up @@ -6826,7 +6827,7 @@

el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
Expand Down Expand Up @@ -9441,7 +9442,7 @@
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$2(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
Expand Down Expand Up @@ -10553,7 +10554,9 @@
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip
Expand Down
4 changes: 2 additions & 2 deletions dist/vue.min.js

Large diffs are not rendered by default.

11 changes: 6 additions & 5 deletions dist/vue.runtime.common.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2894,7 +2894,7 @@ function mountComponent (
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
Expand Down Expand Up @@ -3835,9 +3835,10 @@ function renderList (
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}

Expand Down Expand Up @@ -5179,7 +5180,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.20';
Vue.version = '2.5.21';

/* */

Expand Down
11 changes: 6 additions & 5 deletions dist/vue.runtime.esm.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2892,7 +2892,7 @@ function mountComponent (
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
Expand Down Expand Up @@ -3833,9 +3833,10 @@ function renderList (
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}

Expand Down Expand Up @@ -5177,7 +5178,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.20';
Vue.version = '2.5.21';

/* */

Expand Down
11 changes: 6 additions & 5 deletions dist/vue.runtime.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.20
* Vue.js v2.5.21
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2890,7 +2890,7 @@
// component's mounted hook), which relies on vm._watcher being already defined
new Watcher(vm, updateComponent, noop, {
before: function before () {
if (vm._isMounted) {
if (vm._isMounted && !vm._isDestroyed) {
callHook(vm, 'beforeUpdate');
}
}
Expand Down Expand Up @@ -3824,9 +3824,10 @@
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}

Expand Down Expand Up @@ -5161,7 +5162,7 @@
value: FunctionalRenderContext
});

Vue.version = '2.5.20';
Vue.version = '2.5.21';

/* */

Expand Down
4 changes: 2 additions & 2 deletions dist/vue.runtime.min.js

Large diffs are not rendered by default.

13 changes: 8 additions & 5 deletions packages/vue-server-renderer/basic.js
Expand Up @@ -3467,7 +3467,7 @@

el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
Expand Down Expand Up @@ -3909,7 +3909,7 @@
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$1(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
Expand Down Expand Up @@ -5058,7 +5058,9 @@
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip
Expand Down Expand Up @@ -6884,9 +6886,10 @@
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}

Expand Down
13 changes: 8 additions & 5 deletions packages/vue-server-renderer/build.js
Expand Up @@ -3228,7 +3228,7 @@ function genComponentModel (

el.model = {
value: ("(" + value + ")"),
expression: ("\"" + value + "\""),
expression: JSON.stringify(value),
callback: ("function (" + baseValueExpression + ") {" + assignment + "}")
};
}
Expand Down Expand Up @@ -3670,7 +3670,7 @@ function processKey (el) {
var parent = el.parent;
if (iterator && iterator === exp && parent && parent.tag === 'transition-group') {
warn$1(
"Do not use v-for index as key on <transtion-group> children, " +
"Do not use v-for index as key on <transition-group> children, " +
"this is the same as not using keys."
);
}
Expand Down Expand Up @@ -4824,7 +4824,9 @@ function genChildren (
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip
? state.maybeComponent(el$1) ? ",1" : ",0"
: "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip
Expand Down Expand Up @@ -6656,9 +6658,10 @@ function renderList (
ret[i] = render(val[key], key, i);
}
}
if (isDef(ret)) {
(ret)._isVList = true;
if (!isDef(ret)) {
ret = [];
}
(ret)._isVList = true;
return ret
}

Expand Down

0 comments on commit b449e17

Please sign in to comment.