Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromvuejs/vue

Commiteb81ec2

Browse files
committed
build: build 2.5.18
1 parentdfaf9e2 commiteb81ec2

19 files changed

+19284
-80
lines changed

‎dist/vue.common.dev.js‎

Lines changed: 11049 additions & 0 deletions
Large diffs are not rendered by default.

‎dist/vue.common.js‎

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.5.18-beta.0
2+
* Vue.js v2.5.18
33
* (c) 2014-2018 Evan You
44
* Released under the MIT License.
55
*/
@@ -2728,6 +2728,14 @@ function resolveScopedSlots (
27282728
varactiveInstance=null;
27292729
varisUpdatingChildComponent=false;
27302730

2731+
functionsetActiveInstance(vm){
2732+
varprevActiveInstance=activeInstance;
2733+
activeInstance=vm;
2734+
returnfunction(){
2735+
activeInstance=prevActiveInstance;
2736+
}
2737+
}
2738+
27312739
functioninitLifecycle(vm){
27322740
varoptions=vm.$options;
27332741

@@ -2759,8 +2767,7 @@ function lifecycleMixin (Vue) {
27592767
varvm=this;
27602768
varprevEl=vm.$el;
27612769
varprevVnode=vm._vnode;
2762-
varprevActiveInstance=activeInstance;
2763-
activeInstance=vm;
2770+
varrestoreActiveInstance=setActiveInstance(vm);
27642771
vm._vnode=vnode;
27652772
// Vue.prototype.__patch__ is injected in entry points
27662773
// based on the rendering backend used.
@@ -2771,7 +2778,7 @@ function lifecycleMixin (Vue) {
27712778
// updates
27722779
vm.$el=vm.__patch__(prevVnode,vnode);
27732780
}
2774-
activeInstance=prevActiveInstance;
2781+
restoreActiveInstance();
27752782
// update __vue__ reference
27762783
if(prevEl){
27772784
prevEl.__vue__=null;
@@ -5181,7 +5188,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
51815188
value:FunctionalRenderContext
51825189
});
51835190

5184-
Vue.version='2.5.18-beta.0';
5191+
Vue.version='2.5.18';
51855192

51865193
/* */
51875194

@@ -8474,6 +8481,7 @@ var TransitionGroup = {
84748481

84758482
varupdate=this._update;
84768483
this._update=function(vnode,hydrating){
8484+
varrestoreActiveInstance=setActiveInstance(this$1);
84778485
// force removing pass
84788486
this$1.__patch__(
84798487
this$1._vnode,
@@ -8482,6 +8490,7 @@ var TransitionGroup = {
84828490
true// removeOnly (!important, avoids unnecessary moves)
84838491
);
84848492
this$1._vnode=this$1.kept;
8493+
restoreActiveInstance();
84858494
update.call(this$1,vnode,hydrating);
84868495
};
84878496
},
@@ -10080,13 +10089,15 @@ var keyNames = {
1008010089
esc:['Esc','Escape'],
1008110090
tab:'Tab',
1008210091
enter:'Enter',
10083-
space:' ',
10092+
// #9112: IE11 uses `Spacebar` for Space key name.
10093+
space:[' ','Spacebar'],
1008410094
// #7806: IE11 uses key names without `Arrow` prefix for arrow keys.
1008510095
up:['Up','ArrowUp'],
1008610096
left:['Left','ArrowLeft'],
1008710097
right:['Right','ArrowRight'],
1008810098
down:['Down','ArrowDown'],
10089-
'delete':['Backspace','Delete']
10099+
// #9112: IE11 uses `Del` for Delete key name.
10100+
'delete':['Backspace','Delete','Del']
1009010101
};
1009110102

1009210103
// #4868: modifiers that prevent the execution of the listener
@@ -10580,9 +10591,7 @@ function genChildren (
1058010591
el$1.tag!=='template'&&
1058110592
el$1.tag!=='slot'
1058210593
){
10583-
// because el may be a functional component and return an Array instead of a single root.
10584-
// In this case, just a simple normalization is needed
10585-
varnormalizationType=state.maybeComponent(el$1) ?",1" :"";
10594+
varnormalizationType=checkSkip&&state.maybeComponent(el$1) ?",1" :"";
1058610595
return(""+((altGenElement||genElement)(el$1,state))+normalizationType)
1058710596
}
1058810597
varnormalizationType$1=checkSkip

‎dist/vue.common.prod.js‎

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/vue.esm.browser.min.js‎

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎dist/vue.esm.js‎

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.5.18-beta.0
2+
* Vue.js v2.5.18
33
* (c) 2014-2018 Evan You
44
* Released under the MIT License.
55
*/
@@ -2726,6 +2726,14 @@ function resolveScopedSlots (
27262726
varactiveInstance=null;
27272727
varisUpdatingChildComponent=false;
27282728

2729+
functionsetActiveInstance(vm){
2730+
varprevActiveInstance=activeInstance;
2731+
activeInstance=vm;
2732+
returnfunction(){
2733+
activeInstance=prevActiveInstance;
2734+
}
2735+
}
2736+
27292737
functioninitLifecycle(vm){
27302738
varoptions=vm.$options;
27312739

@@ -2757,8 +2765,7 @@ function lifecycleMixin (Vue) {
27572765
varvm=this;
27582766
varprevEl=vm.$el;
27592767
varprevVnode=vm._vnode;
2760-
varprevActiveInstance=activeInstance;
2761-
activeInstance=vm;
2768+
varrestoreActiveInstance=setActiveInstance(vm);
27622769
vm._vnode=vnode;
27632770
// Vue.prototype.__patch__ is injected in entry points
27642771
// based on the rendering backend used.
@@ -2769,7 +2776,7 @@ function lifecycleMixin (Vue) {
27692776
// updates
27702777
vm.$el=vm.__patch__(prevVnode,vnode);
27712778
}
2772-
activeInstance=prevActiveInstance;
2779+
restoreActiveInstance();
27732780
// update __vue__ reference
27742781
if(prevEl){
27752782
prevEl.__vue__=null;
@@ -5179,7 +5186,7 @@ Object.defineProperty(Vue, 'FunctionalRenderContext', {
51795186
value:FunctionalRenderContext
51805187
});
51815188

5182-
Vue.version='2.5.18-beta.0';
5189+
Vue.version='2.5.18';
51835190

51845191
/* */
51855192

@@ -8472,6 +8479,7 @@ var TransitionGroup = {
84728479

84738480
varupdate=this._update;
84748481
this._update=function(vnode,hydrating){
8482+
varrestoreActiveInstance=setActiveInstance(this$1);
84758483
// force removing pass
84768484
this$1.__patch__(
84778485
this$1._vnode,
@@ -8480,6 +8488,7 @@ var TransitionGroup = {
84808488
true// removeOnly (!important, avoids unnecessary moves)
84818489
);
84828490
this$1._vnode=this$1.kept;
8491+
restoreActiveInstance();
84838492
update.call(this$1,vnode,hydrating);
84848493
};
84858494
},
@@ -10078,13 +10087,15 @@ var keyNames = {
1007810087
esc:['Esc','Escape'],
1007910088
tab:'Tab',
1008010089
enter:'Enter',
10081-
space:' ',
10090+
// #9112: IE11 uses `Spacebar` for Space key name.
10091+
space:[' ','Spacebar'],
1008210092
// #7806: IE11 uses key names without `Arrow` prefix for arrow keys.
1008310093
up:['Up','ArrowUp'],
1008410094
left:['Left','ArrowLeft'],
1008510095
right:['Right','ArrowRight'],
1008610096
down:['Down','ArrowDown'],
10087-
'delete':['Backspace','Delete']
10097+
// #9112: IE11 uses `Del` for Delete key name.
10098+
'delete':['Backspace','Delete','Del']
1008810099
};
1008910100

1009010101
// #4868: modifiers that prevent the execution of the listener
@@ -10578,9 +10589,7 @@ function genChildren (
1057810589
el$1.tag!=='template'&&
1057910590
el$1.tag!=='slot'
1058010591
){
10581-
// because el may be a functional component and return an Array instead of a single root.
10582-
// In this case, just a simple normalization is needed
10583-
varnormalizationType=state.maybeComponent(el$1) ?",1" :"";
10592+
varnormalizationType=checkSkip&&state.maybeComponent(el$1) ?",1" :"";
1058410593
return(""+((altGenElement||genElement)(el$1,state))+normalizationType)
1058510594
}
1058610595
varnormalizationType$1=checkSkip

‎dist/vue.js‎

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Vue.js v2.5.18-beta.0
2+
* Vue.js v2.5.18
33
* (c) 2014-2018 Evan You
44
* Released under the MIT License.
55
*/
@@ -2724,6 +2724,14 @@
27242724
varactiveInstance=null;
27252725
varisUpdatingChildComponent=false;
27262726

2727+
functionsetActiveInstance(vm){
2728+
varprevActiveInstance=activeInstance;
2729+
activeInstance=vm;
2730+
returnfunction(){
2731+
activeInstance=prevActiveInstance;
2732+
}
2733+
}
2734+
27272735
functioninitLifecycle(vm){
27282736
varoptions=vm.$options;
27292737

@@ -2755,8 +2763,7 @@
27552763
varvm=this;
27562764
varprevEl=vm.$el;
27572765
varprevVnode=vm._vnode;
2758-
varprevActiveInstance=activeInstance;
2759-
activeInstance=vm;
2766+
varrestoreActiveInstance=setActiveInstance(vm);
27602767
vm._vnode=vnode;
27612768
// Vue.prototype.__patch__ is injected in entry points
27622769
// based on the rendering backend used.
@@ -2767,7 +2774,7 @@
27672774
// updates
27682775
vm.$el=vm.__patch__(prevVnode,vnode);
27692776
}
2770-
activeInstance=prevActiveInstance;
2777+
restoreActiveInstance();
27712778
// update __vue__ reference
27722779
if(prevEl){
27732780
prevEl.__vue__=null;
@@ -5163,7 +5170,7 @@
51635170
value:FunctionalRenderContext
51645171
});
51655172

5166-
Vue.version='2.5.18-beta.0';
5173+
Vue.version='2.5.18';
51675174

51685175
/* */
51695176

@@ -8453,6 +8460,7 @@
84538460

84548461
varupdate=this._update;
84558462
this._update=function(vnode,hydrating){
8463+
varrestoreActiveInstance=setActiveInstance(this$1);
84568464
// force removing pass
84578465
this$1.__patch__(
84588466
this$1._vnode,
@@ -8461,6 +8469,7 @@
84618469
true// removeOnly (!important, avoids unnecessary moves)
84628470
);
84638471
this$1._vnode=this$1.kept;
8472+
restoreActiveInstance();
84648473
update.call(this$1,vnode,hydrating);
84658474
};
84668475
},
@@ -10052,13 +10061,15 @@
1005210061
esc:['Esc','Escape'],
1005310062
tab:'Tab',
1005410063
enter:'Enter',
10055-
space:' ',
10064+
// #9112: IE11 uses `Spacebar` for Space key name.
10065+
space:[' ','Spacebar'],
1005610066
// #7806: IE11 uses key names without `Arrow` prefix for arrow keys.
1005710067
up:['Up','ArrowUp'],
1005810068
left:['Left','ArrowLeft'],
1005910069
right:['Right','ArrowRight'],
1006010070
down:['Down','ArrowDown'],
10061-
'delete':['Backspace','Delete']
10071+
// #9112: IE11 uses `Del` for Delete key name.
10072+
'delete':['Backspace','Delete','Del']
1006210073
};
1006310074

1006410075
// #4868: modifiers that prevent the execution of the listener
@@ -10549,9 +10560,7 @@
1054910560
el$1.tag!=='template'&&
1055010561
el$1.tag!=='slot'
1055110562
){
10552-
// because el may be a functional component and return an Array instead of a single root.
10553-
// In this case, just a simple normalization is needed
10554-
varnormalizationType=state.maybeComponent(el$1) ?",1" :"";
10563+
varnormalizationType=checkSkip&&state.maybeComponent(el$1) ?",1" :"";
1055510564
return(""+((altGenElement||genElement)(el$1,state))+normalizationType)
1055610565
}
1055710566
varnormalizationType$1=checkSkip

‎dist/vue.min.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp