Skip to content

Commit

Permalink
build: build 2.5.18
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Dec 7, 2018
1 parent dfaf9e2 commit eb81ec2
Show file tree
Hide file tree
Showing 19 changed files with 19,284 additions and 80 deletions.
11,049 changes: 11,049 additions & 0 deletions dist/vue.common.dev.js

Large diffs are not rendered by default.

29 changes: 19 additions & 10 deletions dist/vue.common.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.18-beta.0
* Vue.js v2.5.18
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2728,6 +2728,14 @@ function resolveScopedSlots (
var activeInstance = null;
var isUpdatingChildComponent = false;

function setActiveInstance(vm) {
var prevActiveInstance = activeInstance;
activeInstance = vm;
return function () {
activeInstance = prevActiveInstance;
}
}

function initLifecycle (vm) {
var options = vm.$options;

Expand Down Expand Up @@ -2759,8 +2767,7 @@ function lifecycleMixin (Vue) {
var vm = this;
var prevEl = vm.$el;
var prevVnode = vm._vnode;
var prevActiveInstance = activeInstance;
activeInstance = vm;
var restoreActiveInstance = setActiveInstance(vm);
vm._vnode = vnode;
// Vue.prototype.__patch__ is injected in entry points
// based on the rendering backend used.
Expand All @@ -2771,7 +2778,7 @@ function lifecycleMixin (Vue) {
// updates
vm.$el = vm.__patch__(prevVnode, vnode);
}
activeInstance = prevActiveInstance;
restoreActiveInstance();
// update __vue__ reference
if (prevEl) {
prevEl.__vue__ = null;
Expand Down Expand Up @@ -5181,7 +5188,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.18-beta.0';
Vue.version = '2.5.18';

/* */

Expand Down Expand Up @@ -8474,6 +8481,7 @@ var TransitionGroup = {

var update = this._update;
this._update = function (vnode, hydrating) {
var restoreActiveInstance = setActiveInstance(this$1);
// force removing pass
this$1.__patch__(
this$1._vnode,
Expand All @@ -8482,6 +8490,7 @@ var TransitionGroup = {
true // removeOnly (!important, avoids unnecessary moves)
);
this$1._vnode = this$1.kept;
restoreActiveInstance();
update.call(this$1, vnode, hydrating);
};
},
Expand Down Expand Up @@ -10080,13 +10089,15 @@ var keyNames = {
esc: ['Esc', 'Escape'],
tab: 'Tab',
enter: 'Enter',
space: ' ',
// #9112: IE11 uses `Spacebar` for Space key name.
space: [' ', 'Spacebar'],
// #7806: IE11 uses key names without `Arrow` prefix for arrow keys.
up: ['Up', 'ArrowUp'],
left: ['Left', 'ArrowLeft'],
right: ['Right', 'ArrowRight'],
down: ['Down', 'ArrowDown'],
'delete': ['Backspace', 'Delete']
// #9112: IE11 uses `Del` for Delete key name.
'delete': ['Backspace', 'Delete', 'Del']
};

// #4868: modifiers that prevent the execution of the listener
Expand Down Expand Up @@ -10580,9 +10591,7 @@ function genChildren (
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
// because el may be a functional component and return an Array instead of a single root.
// In this case, just a simple normalization is needed
var normalizationType = state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip
Expand Down
6 changes: 6 additions & 0 deletions dist/vue.common.prod.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions dist/vue.esm.browser.min.js

Large diffs are not rendered by default.

29 changes: 19 additions & 10 deletions dist/vue.esm.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.18-beta.0
* Vue.js v2.5.18
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2726,6 +2726,14 @@ function resolveScopedSlots (
var activeInstance = null;
var isUpdatingChildComponent = false;

function setActiveInstance(vm) {
var prevActiveInstance = activeInstance;
activeInstance = vm;
return function () {
activeInstance = prevActiveInstance;
}
}

function initLifecycle (vm) {
var options = vm.$options;

Expand Down Expand Up @@ -2757,8 +2765,7 @@ function lifecycleMixin (Vue) {
var vm = this;
var prevEl = vm.$el;
var prevVnode = vm._vnode;
var prevActiveInstance = activeInstance;
activeInstance = vm;
var restoreActiveInstance = setActiveInstance(vm);
vm._vnode = vnode;
// Vue.prototype.__patch__ is injected in entry points
// based on the rendering backend used.
Expand All @@ -2769,7 +2776,7 @@ function lifecycleMixin (Vue) {
// updates
vm.$el = vm.__patch__(prevVnode, vnode);
}
activeInstance = prevActiveInstance;
restoreActiveInstance();
// update __vue__ reference
if (prevEl) {
prevEl.__vue__ = null;
Expand Down Expand Up @@ -5179,7 +5186,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
value: FunctionalRenderContext
});

Vue.version = '2.5.18-beta.0';
Vue.version = '2.5.18';

/* */

Expand Down Expand Up @@ -8472,6 +8479,7 @@ var TransitionGroup = {

var update = this._update;
this._update = function (vnode, hydrating) {
var restoreActiveInstance = setActiveInstance(this$1);
// force removing pass
this$1.__patch__(
this$1._vnode,
Expand All @@ -8480,6 +8488,7 @@ var TransitionGroup = {
true // removeOnly (!important, avoids unnecessary moves)
);
this$1._vnode = this$1.kept;
restoreActiveInstance();
update.call(this$1, vnode, hydrating);
};
},
Expand Down Expand Up @@ -10078,13 +10087,15 @@ var keyNames = {
esc: ['Esc', 'Escape'],
tab: 'Tab',
enter: 'Enter',
space: ' ',
// #9112: IE11 uses `Spacebar` for Space key name.
space: [' ', 'Spacebar'],
// #7806: IE11 uses key names without `Arrow` prefix for arrow keys.
up: ['Up', 'ArrowUp'],
left: ['Left', 'ArrowLeft'],
right: ['Right', 'ArrowRight'],
down: ['Down', 'ArrowDown'],
'delete': ['Backspace', 'Delete']
// #9112: IE11 uses `Del` for Delete key name.
'delete': ['Backspace', 'Delete', 'Del']
};

// #4868: modifiers that prevent the execution of the listener
Expand Down Expand Up @@ -10578,9 +10589,7 @@ function genChildren (
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
// because el may be a functional component and return an Array instead of a single root.
// In this case, just a simple normalization is needed
var normalizationType = state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
return ("" + ((altGenElement || genElement)(el$1, state)) + normalizationType)
}
var normalizationType$1 = checkSkip
Expand Down
29 changes: 19 additions & 10 deletions dist/vue.js
@@ -1,5 +1,5 @@
/*!
* Vue.js v2.5.18-beta.0
* Vue.js v2.5.18
* (c) 2014-2018 Evan You
* Released under the MIT License.
*/
Expand Down Expand Up @@ -2724,6 +2724,14 @@
var activeInstance = null;
var isUpdatingChildComponent = false;

function setActiveInstance(vm) {
var prevActiveInstance = activeInstance;
activeInstance = vm;
return function () {
activeInstance = prevActiveInstance;
}
}

function initLifecycle (vm) {
var options = vm.$options;

Expand Down Expand Up @@ -2755,8 +2763,7 @@
var vm = this;
var prevEl = vm.$el;
var prevVnode = vm._vnode;
var prevActiveInstance = activeInstance;
activeInstance = vm;
var restoreActiveInstance = setActiveInstance(vm);
vm._vnode = vnode;
// Vue.prototype.__patch__ is injected in entry points
// based on the rendering backend used.
Expand All @@ -2767,7 +2774,7 @@
// updates
vm.$el = vm.__patch__(prevVnode, vnode);
}
activeInstance = prevActiveInstance;
restoreActiveInstance();
// update __vue__ reference
if (prevEl) {
prevEl.__vue__ = null;
Expand Down Expand Up @@ -5163,7 +5170,7 @@
value: FunctionalRenderContext
});

Vue.version = '2.5.18-beta.0';
Vue.version = '2.5.18';

/* */

Expand Down Expand Up @@ -8453,6 +8460,7 @@

var update = this._update;
this._update = function (vnode, hydrating) {
var restoreActiveInstance = setActiveInstance(this$1);
// force removing pass
this$1.__patch__(
this$1._vnode,
Expand All @@ -8461,6 +8469,7 @@
true // removeOnly (!important, avoids unnecessary moves)
);
this$1._vnode = this$1.kept;
restoreActiveInstance();
update.call(this$1, vnode, hydrating);
};
},
Expand Down Expand Up @@ -10052,13 +10061,15 @@
esc: ['Esc', 'Escape'],
tab: 'Tab',
enter: 'Enter',
space: ' ',
// #9112: IE11 uses `Spacebar` for Space key name.
space: [' ', 'Spacebar'],
// #7806: IE11 uses key names without `Arrow` prefix for arrow keys.
up: ['Up', 'ArrowUp'],
left: ['Left', 'ArrowLeft'],
right: ['Right', 'ArrowRight'],
down: ['Down', 'ArrowDown'],
'delete': ['Backspace', 'Delete']
// #9112: IE11 uses `Del` for Delete key name.
'delete': ['Backspace', 'Delete', 'Del']
};

// #4868: modifiers that prevent the execution of the listener
Expand Down Expand Up @@ -10549,9 +10560,7 @@
el$1.tag !== 'template' &&
el$1.tag !== 'slot'
) {
// because el may be a functional component and return an Array instead of a single root.
// In this case, just a simple normalization is needed
var normalizationType = state.maybeComponent(el$1) ? ",1" : "";
var normalizationType = checkSkip && state.maybeComponent(el$1) ? ",1" : "";
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.

0 comments on commit eb81ec2

Please sign in to comment.