mirror of
https://gitee.com/vuejs/vue.git
synced 2024-11-29 18:47:39 +08:00
[build] 2.2.6
This commit is contained in:
parent
6fcfdbd83f
commit
113fce9955
22
dist/vue.common.js
vendored
22
dist/vue.common.js
vendored
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Vue.js v2.2.5
|
||||
* Vue.js v2.2.6
|
||||
* (c) 2014-2017 Evan You
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
@ -2091,6 +2091,9 @@ function lifecycleMixin (Vue) {
|
||||
}
|
||||
// call the last hook...
|
||||
vm._isDestroyed = true;
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// fire destroyed hook
|
||||
callHook(vm, 'destroyed');
|
||||
// turn off all instance listeners.
|
||||
vm.$off();
|
||||
@ -2098,8 +2101,8 @@ function lifecycleMixin (Vue) {
|
||||
if (vm.$el) {
|
||||
vm.$el.__vue__ = null;
|
||||
}
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// remove reference to DOM nodes (prevents leak)
|
||||
vm.$options._parentElm = vm.$options._refElm = null;
|
||||
};
|
||||
}
|
||||
|
||||
@ -2764,6 +2767,15 @@ function initComputed (vm, computed) {
|
||||
for (var key in computed) {
|
||||
var userDef = computed[key];
|
||||
var getter = typeof userDef === 'function' ? userDef : userDef.get;
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (getter === undefined) {
|
||||
warn(
|
||||
("No getter function has been defined for computed property \"" + key + "\"."),
|
||||
vm
|
||||
);
|
||||
getter = noop;
|
||||
}
|
||||
}
|
||||
// create internal watcher for the computed property.
|
||||
watchers[key] = new Watcher(vm, getter, noop, computedWatcherOptions);
|
||||
|
||||
@ -3176,7 +3188,7 @@ function extractProps (data, Ctor, tag) {
|
||||
) {
|
||||
tip(
|
||||
"Prop \"" + keyInLowerCase + "\" is passed to component " +
|
||||
(formatComponentName(tag || Ctor)) + ", but the delared prop name is" +
|
||||
(formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
|
||||
" \"" + key + "\". " +
|
||||
"Note that HTML attributes are case-insensitive and camelCased " +
|
||||
"props need to use their kebab-case equivalents when using in-DOM " +
|
||||
@ -4161,7 +4173,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
|
||||
get: isServerRendering
|
||||
});
|
||||
|
||||
Vue$3.version = '2.2.5';
|
||||
Vue$3.version = '2.2.6';
|
||||
|
||||
/* */
|
||||
|
||||
|
22
dist/vue.esm.js
vendored
22
dist/vue.esm.js
vendored
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Vue.js v2.2.5
|
||||
* Vue.js v2.2.6
|
||||
* (c) 2014-2017 Evan You
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
@ -2089,6 +2089,9 @@ function lifecycleMixin (Vue) {
|
||||
}
|
||||
// call the last hook...
|
||||
vm._isDestroyed = true;
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// fire destroyed hook
|
||||
callHook(vm, 'destroyed');
|
||||
// turn off all instance listeners.
|
||||
vm.$off();
|
||||
@ -2096,8 +2099,8 @@ function lifecycleMixin (Vue) {
|
||||
if (vm.$el) {
|
||||
vm.$el.__vue__ = null;
|
||||
}
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// remove reference to DOM nodes (prevents leak)
|
||||
vm.$options._parentElm = vm.$options._refElm = null;
|
||||
};
|
||||
}
|
||||
|
||||
@ -2762,6 +2765,15 @@ function initComputed (vm, computed) {
|
||||
for (var key in computed) {
|
||||
var userDef = computed[key];
|
||||
var getter = typeof userDef === 'function' ? userDef : userDef.get;
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (getter === undefined) {
|
||||
warn(
|
||||
("No getter function has been defined for computed property \"" + key + "\"."),
|
||||
vm
|
||||
);
|
||||
getter = noop;
|
||||
}
|
||||
}
|
||||
// create internal watcher for the computed property.
|
||||
watchers[key] = new Watcher(vm, getter, noop, computedWatcherOptions);
|
||||
|
||||
@ -3174,7 +3186,7 @@ function extractProps (data, Ctor, tag) {
|
||||
) {
|
||||
tip(
|
||||
"Prop \"" + keyInLowerCase + "\" is passed to component " +
|
||||
(formatComponentName(tag || Ctor)) + ", but the delared prop name is" +
|
||||
(formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
|
||||
" \"" + key + "\". " +
|
||||
"Note that HTML attributes are case-insensitive and camelCased " +
|
||||
"props need to use their kebab-case equivalents when using in-DOM " +
|
||||
@ -4159,7 +4171,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
|
||||
get: isServerRendering
|
||||
});
|
||||
|
||||
Vue$3.version = '2.2.5';
|
||||
Vue$3.version = '2.2.6';
|
||||
|
||||
/* */
|
||||
|
||||
|
22
dist/vue.js
vendored
22
dist/vue.js
vendored
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Vue.js v2.2.5
|
||||
* Vue.js v2.2.6
|
||||
* (c) 2014-2017 Evan You
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
@ -2095,6 +2095,9 @@ function lifecycleMixin (Vue) {
|
||||
}
|
||||
// call the last hook...
|
||||
vm._isDestroyed = true;
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// fire destroyed hook
|
||||
callHook(vm, 'destroyed');
|
||||
// turn off all instance listeners.
|
||||
vm.$off();
|
||||
@ -2102,8 +2105,8 @@ function lifecycleMixin (Vue) {
|
||||
if (vm.$el) {
|
||||
vm.$el.__vue__ = null;
|
||||
}
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// remove reference to DOM nodes (prevents leak)
|
||||
vm.$options._parentElm = vm.$options._refElm = null;
|
||||
};
|
||||
}
|
||||
|
||||
@ -2764,6 +2767,15 @@ function initComputed (vm, computed) {
|
||||
for (var key in computed) {
|
||||
var userDef = computed[key];
|
||||
var getter = typeof userDef === 'function' ? userDef : userDef.get;
|
||||
{
|
||||
if (getter === undefined) {
|
||||
warn(
|
||||
("No getter function has been defined for computed property \"" + key + "\"."),
|
||||
vm
|
||||
);
|
||||
getter = noop;
|
||||
}
|
||||
}
|
||||
// create internal watcher for the computed property.
|
||||
watchers[key] = new Watcher(vm, getter, noop, computedWatcherOptions);
|
||||
|
||||
@ -3176,7 +3188,7 @@ function extractProps (data, Ctor, tag) {
|
||||
) {
|
||||
tip(
|
||||
"Prop \"" + keyInLowerCase + "\" is passed to component " +
|
||||
(formatComponentName(tag || Ctor)) + ", but the delared prop name is" +
|
||||
(formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
|
||||
" \"" + key + "\". " +
|
||||
"Note that HTML attributes are case-insensitive and camelCased " +
|
||||
"props need to use their kebab-case equivalents when using in-DOM " +
|
||||
@ -4155,7 +4167,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
|
||||
get: isServerRendering
|
||||
});
|
||||
|
||||
Vue$3.version = '2.2.5';
|
||||
Vue$3.version = '2.2.6';
|
||||
|
||||
/* */
|
||||
|
||||
|
6
dist/vue.min.js
vendored
6
dist/vue.min.js
vendored
File diff suppressed because one or more lines are too long
22
dist/vue.runtime.common.js
vendored
22
dist/vue.runtime.common.js
vendored
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Vue.js v2.2.5
|
||||
* Vue.js v2.2.6
|
||||
* (c) 2014-2017 Evan You
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
@ -2087,6 +2087,9 @@ function lifecycleMixin (Vue) {
|
||||
}
|
||||
// call the last hook...
|
||||
vm._isDestroyed = true;
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// fire destroyed hook
|
||||
callHook(vm, 'destroyed');
|
||||
// turn off all instance listeners.
|
||||
vm.$off();
|
||||
@ -2094,8 +2097,8 @@ function lifecycleMixin (Vue) {
|
||||
if (vm.$el) {
|
||||
vm.$el.__vue__ = null;
|
||||
}
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// remove reference to DOM nodes (prevents leak)
|
||||
vm.$options._parentElm = vm.$options._refElm = null;
|
||||
};
|
||||
}
|
||||
|
||||
@ -2760,6 +2763,15 @@ function initComputed (vm, computed) {
|
||||
for (var key in computed) {
|
||||
var userDef = computed[key];
|
||||
var getter = typeof userDef === 'function' ? userDef : userDef.get;
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (getter === undefined) {
|
||||
warn(
|
||||
("No getter function has been defined for computed property \"" + key + "\"."),
|
||||
vm
|
||||
);
|
||||
getter = noop;
|
||||
}
|
||||
}
|
||||
// create internal watcher for the computed property.
|
||||
watchers[key] = new Watcher(vm, getter, noop, computedWatcherOptions);
|
||||
|
||||
@ -3172,7 +3184,7 @@ function extractProps (data, Ctor, tag) {
|
||||
) {
|
||||
tip(
|
||||
"Prop \"" + keyInLowerCase + "\" is passed to component " +
|
||||
(formatComponentName(tag || Ctor)) + ", but the delared prop name is" +
|
||||
(formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
|
||||
" \"" + key + "\". " +
|
||||
"Note that HTML attributes are case-insensitive and camelCased " +
|
||||
"props need to use their kebab-case equivalents when using in-DOM " +
|
||||
@ -4157,7 +4169,7 @@ Object.defineProperty(Vue$2.prototype, '$isServer', {
|
||||
get: isServerRendering
|
||||
});
|
||||
|
||||
Vue$2.version = '2.2.5';
|
||||
Vue$2.version = '2.2.6';
|
||||
|
||||
/* */
|
||||
|
||||
|
22
dist/vue.runtime.esm.js
vendored
22
dist/vue.runtime.esm.js
vendored
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Vue.js v2.2.5
|
||||
* Vue.js v2.2.6
|
||||
* (c) 2014-2017 Evan You
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
@ -2085,6 +2085,9 @@ function lifecycleMixin (Vue) {
|
||||
}
|
||||
// call the last hook...
|
||||
vm._isDestroyed = true;
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// fire destroyed hook
|
||||
callHook(vm, 'destroyed');
|
||||
// turn off all instance listeners.
|
||||
vm.$off();
|
||||
@ -2092,8 +2095,8 @@ function lifecycleMixin (Vue) {
|
||||
if (vm.$el) {
|
||||
vm.$el.__vue__ = null;
|
||||
}
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// remove reference to DOM nodes (prevents leak)
|
||||
vm.$options._parentElm = vm.$options._refElm = null;
|
||||
};
|
||||
}
|
||||
|
||||
@ -2758,6 +2761,15 @@ function initComputed (vm, computed) {
|
||||
for (var key in computed) {
|
||||
var userDef = computed[key];
|
||||
var getter = typeof userDef === 'function' ? userDef : userDef.get;
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (getter === undefined) {
|
||||
warn(
|
||||
("No getter function has been defined for computed property \"" + key + "\"."),
|
||||
vm
|
||||
);
|
||||
getter = noop;
|
||||
}
|
||||
}
|
||||
// create internal watcher for the computed property.
|
||||
watchers[key] = new Watcher(vm, getter, noop, computedWatcherOptions);
|
||||
|
||||
@ -3170,7 +3182,7 @@ function extractProps (data, Ctor, tag) {
|
||||
) {
|
||||
tip(
|
||||
"Prop \"" + keyInLowerCase + "\" is passed to component " +
|
||||
(formatComponentName(tag || Ctor)) + ", but the delared prop name is" +
|
||||
(formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
|
||||
" \"" + key + "\". " +
|
||||
"Note that HTML attributes are case-insensitive and camelCased " +
|
||||
"props need to use their kebab-case equivalents when using in-DOM " +
|
||||
@ -4155,7 +4167,7 @@ Object.defineProperty(Vue$2.prototype, '$isServer', {
|
||||
get: isServerRendering
|
||||
});
|
||||
|
||||
Vue$2.version = '2.2.5';
|
||||
Vue$2.version = '2.2.6';
|
||||
|
||||
/* */
|
||||
|
||||
|
22
dist/vue.runtime.js
vendored
22
dist/vue.runtime.js
vendored
@ -1,5 +1,5 @@
|
||||
/*!
|
||||
* Vue.js v2.2.5
|
||||
* Vue.js v2.2.6
|
||||
* (c) 2014-2017 Evan You
|
||||
* Released under the MIT License.
|
||||
*/
|
||||
@ -2091,6 +2091,9 @@ function lifecycleMixin (Vue) {
|
||||
}
|
||||
// call the last hook...
|
||||
vm._isDestroyed = true;
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// fire destroyed hook
|
||||
callHook(vm, 'destroyed');
|
||||
// turn off all instance listeners.
|
||||
vm.$off();
|
||||
@ -2098,8 +2101,8 @@ function lifecycleMixin (Vue) {
|
||||
if (vm.$el) {
|
||||
vm.$el.__vue__ = null;
|
||||
}
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// remove reference to DOM nodes (prevents leak)
|
||||
vm.$options._parentElm = vm.$options._refElm = null;
|
||||
};
|
||||
}
|
||||
|
||||
@ -2760,6 +2763,15 @@ function initComputed (vm, computed) {
|
||||
for (var key in computed) {
|
||||
var userDef = computed[key];
|
||||
var getter = typeof userDef === 'function' ? userDef : userDef.get;
|
||||
{
|
||||
if (getter === undefined) {
|
||||
warn(
|
||||
("No getter function has been defined for computed property \"" + key + "\"."),
|
||||
vm
|
||||
);
|
||||
getter = noop;
|
||||
}
|
||||
}
|
||||
// create internal watcher for the computed property.
|
||||
watchers[key] = new Watcher(vm, getter, noop, computedWatcherOptions);
|
||||
|
||||
@ -3172,7 +3184,7 @@ function extractProps (data, Ctor, tag) {
|
||||
) {
|
||||
tip(
|
||||
"Prop \"" + keyInLowerCase + "\" is passed to component " +
|
||||
(formatComponentName(tag || Ctor)) + ", but the delared prop name is" +
|
||||
(formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
|
||||
" \"" + key + "\". " +
|
||||
"Note that HTML attributes are case-insensitive and camelCased " +
|
||||
"props need to use their kebab-case equivalents when using in-DOM " +
|
||||
@ -4151,7 +4163,7 @@ Object.defineProperty(Vue$2.prototype, '$isServer', {
|
||||
get: isServerRendering
|
||||
});
|
||||
|
||||
Vue$2.version = '2.2.5';
|
||||
Vue$2.version = '2.2.6';
|
||||
|
||||
/* */
|
||||
|
||||
|
4
dist/vue.runtime.min.js
vendored
4
dist/vue.runtime.min.js
vendored
File diff suppressed because one or more lines are too long
@ -4219,6 +4219,9 @@ function lifecycleMixin (Vue) {
|
||||
}
|
||||
// call the last hook...
|
||||
vm._isDestroyed = true;
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// fire destroyed hook
|
||||
callHook(vm, 'destroyed');
|
||||
// turn off all instance listeners.
|
||||
vm.$off();
|
||||
@ -4226,8 +4229,8 @@ function lifecycleMixin (Vue) {
|
||||
if (vm.$el) {
|
||||
vm.$el.__vue__ = null;
|
||||
}
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// remove reference to DOM nodes (prevents leak)
|
||||
vm.$options._parentElm = vm.$options._refElm = null;
|
||||
};
|
||||
}
|
||||
|
||||
@ -4829,6 +4832,15 @@ function initComputed (vm, computed) {
|
||||
for (var key in computed) {
|
||||
var userDef = computed[key];
|
||||
var getter = typeof userDef === 'function' ? userDef : userDef.get;
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (getter === undefined) {
|
||||
warn$2(
|
||||
("No getter function has been defined for computed property \"" + key + "\"."),
|
||||
vm
|
||||
);
|
||||
getter = noop;
|
||||
}
|
||||
}
|
||||
// create internal watcher for the computed property.
|
||||
watchers[key] = new Watcher(vm, getter, noop, computedWatcherOptions);
|
||||
|
||||
@ -5241,7 +5253,7 @@ function extractProps (data, Ctor, tag) {
|
||||
) {
|
||||
tip(
|
||||
"Prop \"" + keyInLowerCase + "\" is passed to component " +
|
||||
(formatComponentName(tag || Ctor)) + ", but the delared prop name is" +
|
||||
(formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
|
||||
" \"" + key + "\". " +
|
||||
"Note that HTML attributes are case-insensitive and camelCased " +
|
||||
"props need to use their kebab-case equivalents when using in-DOM " +
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-server-renderer",
|
||||
"version": "2.2.5",
|
||||
"version": "2.2.6",
|
||||
"description": "server renderer for Vue 2.0",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
|
@ -4087,6 +4087,9 @@ function lifecycleMixin (Vue) {
|
||||
}
|
||||
// call the last hook...
|
||||
vm._isDestroyed = true;
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// fire destroyed hook
|
||||
callHook(vm, 'destroyed');
|
||||
// turn off all instance listeners.
|
||||
vm.$off();
|
||||
@ -4094,8 +4097,8 @@ function lifecycleMixin (Vue) {
|
||||
if (vm.$el) {
|
||||
vm.$el.__vue__ = null;
|
||||
}
|
||||
// invoke destroy hooks on current rendered tree
|
||||
vm.__patch__(vm._vnode, null);
|
||||
// remove reference to DOM nodes (prevents leak)
|
||||
vm.$options._parentElm = vm.$options._refElm = null;
|
||||
};
|
||||
}
|
||||
|
||||
@ -4697,6 +4700,15 @@ function initComputed (vm, computed) {
|
||||
for (var key in computed) {
|
||||
var userDef = computed[key];
|
||||
var getter = typeof userDef === 'function' ? userDef : userDef.get;
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (getter === undefined) {
|
||||
warn$2(
|
||||
("No getter function has been defined for computed property \"" + key + "\"."),
|
||||
vm
|
||||
);
|
||||
getter = noop;
|
||||
}
|
||||
}
|
||||
// create internal watcher for the computed property.
|
||||
watchers[key] = new Watcher(vm, getter, noop, computedWatcherOptions);
|
||||
|
||||
@ -5109,7 +5121,7 @@ function extractProps (data, Ctor, tag) {
|
||||
) {
|
||||
tip(
|
||||
"Prop \"" + keyInLowerCase + "\" is passed to component " +
|
||||
(formatComponentName(tag || Ctor)) + ", but the delared prop name is" +
|
||||
(formatComponentName(tag || Ctor)) + ", but the declared prop name is" +
|
||||
" \"" + key + "\". " +
|
||||
"Note that HTML attributes are case-insensitive and camelCased " +
|
||||
"props need to use their kebab-case equivalents when using in-DOM " +
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vue-template-compiler",
|
||||
"version": "2.2.5",
|
||||
"version": "2.2.6",
|
||||
"description": "template compiler for Vue 2.0",
|
||||
"main": "index.js",
|
||||
"repository": {
|
||||
|
Loading…
Reference in New Issue
Block a user