@@ -24,9 +24,9 @@ export default class VNode {
2424 asyncMeta: Object | void ;
2525 isAsyncPlaceholder: boolean ;
2626 ssrContext: Object | void ;
27- functionalContext : Component | void ; // real context vm for functional nodes
28- functionalOptions : ?ComponentOptions ; // for SSR caching
29- functionalScopeId : ?string ; // functioanl scope id support
27+ fnContext : Component | void ; // real context vm for functional nodes
28+ fnOptions : ?ComponentOptions ; // for SSR caching
29+ fnScopeId : ?string ; // functioanl scope id support
3030
3131 constructor (
3232 tag ? : string ,
@@ -45,9 +45,9 @@ export default class VNode {
4545 this . elm = elm
4646 this . ns = undefined
4747 this . context = context
48- this . functionalContext = undefined
49- this . functionalOptions = undefined
50- this . functionalScopeId = undefined
48+ this . fnContext = undefined
49+ this . fnOptions = undefined
50+ this . fnScopeId = undefined
5151 this . key = data && data . key
5252 this . componentOptions = componentOptions
5353 this . componentInstance = undefined
@@ -101,6 +101,9 @@ export function cloneVNode (vnode: VNode, deep?: boolean): VNode {
101101 cloned . isStatic = vnode . isStatic
102102 cloned . key = vnode . key
103103 cloned . isComment = vnode . isComment
104+ cloned . fnContext = vnode . fnContext
105+ cloned . fnOptions = vnode . fnOptions
106+ cloned . fnScopeId = vnode . fnScopeId
104107 cloned . isCloned = true
105108 if ( deep ) {
106109 if ( vnode . children ) {
0 commit comments