File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
platform/nativescript/util Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ export function setVue(Vue) {
10
10
_Vue = Vue
11
11
}
12
12
13
- export const canBeLeftOpenTag = function ( el ) {
13
+ export const canBeLeftOpenTag = function ( el ) {
14
14
return getViewMeta ( el ) . canBeLeftOpenTag
15
15
}
16
16
17
- export const isUnaryTag = function ( el ) {
17
+ export const isUnaryTag = function ( el ) {
18
18
return getViewMeta ( el ) . isUnaryTag
19
19
}
20
20
@@ -74,22 +74,22 @@ export function trace(message) {
74
74
return infoTrace ( )
75
75
}
76
76
77
- if ( ! _Vue . config . suppressRenderLogs ) {
77
+ if ( _Vue && ! _Vue . config . suppressRenderLogs ) {
78
78
console . log (
79
79
`{NSVue (Vue: ${ VUE_VERSION } | NSVue: ${ NS_VUE_VERSION } )} -> ${ message } `
80
80
)
81
81
}
82
82
}
83
83
84
84
export function before ( original , thisArg , wrap ) {
85
- return function ( ...args ) {
85
+ return function ( ...args ) {
86
86
wrap . call ( null , ...args )
87
87
original . call ( thisArg , ...args )
88
88
}
89
89
}
90
90
91
91
export function after ( original , thisArg , wrap ) {
92
- return function ( ...args ) {
92
+ return function ( ...args ) {
93
93
original . call ( thisArg , ...args )
94
94
wrap . call ( null , ...args )
95
95
}
You can’t perform that action at this time.
0 commit comments