Skip to content

Commit

Permalink
[build] 2.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Mar 27, 2017
1 parent 6fcfdbd commit 113fce9
Show file tree
Hide file tree
Showing 12 changed files with 139 additions and 43 deletions.
22 changes: 17 additions & 5 deletions dist/vue.common.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.2.5
* Vue.js v2.2.6
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2091,15 +2091,18 @@ 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();
// remove __vue__ reference
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;
};
}

Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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 " +
Expand Down Expand Up @@ -4161,7 +4173,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
get: isServerRendering
});

Vue$3.version = '2.2.5';
Vue$3.version = '2.2.6';

/* */

Expand Down
22 changes: 17 additions & 5 deletions dist/vue.esm.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.2.5
* Vue.js v2.2.6
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2089,15 +2089,18 @@ 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();
// remove __vue__ reference
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;
};
}

Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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 " +
Expand Down Expand Up @@ -4159,7 +4171,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
get: isServerRendering
});

Vue$3.version = '2.2.5';
Vue$3.version = '2.2.6';

/* */

Expand Down
22 changes: 17 additions & 5 deletions dist/vue.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.2.5
* Vue.js v2.2.6
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2095,15 +2095,18 @@ 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();
// remove __vue__ reference
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;
};
}

Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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 " +
Expand Down Expand Up @@ -4155,7 +4167,7 @@ Object.defineProperty(Vue$3.prototype, '$isServer', {
get: isServerRendering
});

Vue$3.version = '2.2.5';
Vue$3.version = '2.2.6';

/* */

Expand Down
6 changes: 3 additions & 3 deletions dist/vue.min.js

Large diffs are not rendered by default.

22 changes: 17 additions & 5 deletions dist/vue.runtime.common.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.2.5
* Vue.js v2.2.6
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2087,15 +2087,18 @@ 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();
// remove __vue__ reference
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;
};
}

Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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 " +
Expand Down Expand Up @@ -4157,7 +4169,7 @@ Object.defineProperty(Vue$2.prototype, '$isServer', {
get: isServerRendering
});

Vue$2.version = '2.2.5';
Vue$2.version = '2.2.6';

/* */

Expand Down
22 changes: 17 additions & 5 deletions dist/vue.runtime.esm.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.2.5
* Vue.js v2.2.6
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2085,15 +2085,18 @@ 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();
// remove __vue__ reference
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;
};
}

Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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 " +
Expand Down Expand Up @@ -4155,7 +4167,7 @@ Object.defineProperty(Vue$2.prototype, '$isServer', {
get: isServerRendering
});

Vue$2.version = '2.2.5';
Vue$2.version = '2.2.6';

/* */

Expand Down
22 changes: 17 additions & 5 deletions dist/vue.runtime.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.2.5
* Vue.js v2.2.6
* (c) 2014-2017 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2091,15 +2091,18 @@ 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();
// remove __vue__ reference
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;
};
}

Expand Down Expand Up @@ -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);

Expand Down Expand Up @@ -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 " +
Expand Down Expand Up @@ -4151,7 +4163,7 @@ Object.defineProperty(Vue$2.prototype, '$isServer', {
get: isServerRendering
});

Vue$2.version = '2.2.5';
Vue$2.version = '2.2.6';

/* */

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

Large diffs are not rendered by default.

0 comments on commit 113fce9

Please sign in to comment.