File tree 1 file changed +2
-6
lines changed
platform/nativescript/runtime 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import platformComponents from './components/index'
11
11
import platformDirectives from './directives/index'
12
12
13
13
import { mustUseProp , isReservedTag , isUnknownElement } from '../util/index'
14
- import { ensurePage } from '../util'
15
14
16
15
export const VUE_VM_REF = '__vue_vm_ref__'
17
16
@@ -56,7 +55,7 @@ Vue.prototype.$mount = function(el, hydrating) {
56
55
return mountComponent ( this , el , hydrating )
57
56
}
58
57
59
- Vue . prototype . $start = function ( { getRootView } ) {
58
+ Vue . prototype . $start = function ( ) {
60
59
let self = this
61
60
const AppConstructor = Vue . extend ( this . $options )
62
61
@@ -67,10 +66,7 @@ Vue.prototype.$start = function({ getRootView }) {
67
66
}
68
67
69
68
self . $mount ( )
70
- args . root =
71
- typeof getRootView === 'function'
72
- ? getRootView ( self )
73
- : ensurePage ( self . $el , self )
69
+ args . root = self . $el . nativeView
74
70
} )
75
71
76
72
run ( )
You can’t perform that action at this time.
0 commit comments