File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ export const isIOS = UA && /iphone|ipad|ipod|ios/.test(UA)
21
21
// detect devtools
22
22
export const devtools = inBrowser && window . __VUE_DEVTOOLS_GLOBAL_HOOK__
23
23
24
+ /* istanbul ignore next */
24
25
function isNative ( Ctor : Function ) : boolean {
25
26
return / n a t i v e c o d e / . test ( Ctor . toString ( ) )
26
27
}
@@ -50,6 +51,7 @@ export const nextTick = (function () {
50
51
// UIWebView in iOS >= 9.3.3 when triggered in touch event handlers. It
51
52
// completely stops working after triggering a few times... so, if native
52
53
// Promise is available, we will use it:
54
+ /* istanbul ignore if */
53
55
if ( typeof Promise !== 'undefined' && isNative ( Promise ) ) {
54
56
var p = Promise . resolve ( )
55
57
timerFunc = ( ) => {
@@ -76,6 +78,7 @@ export const nextTick = (function () {
76
78
}
77
79
} else {
78
80
// fallback to setTimeout
81
+ /* istanbul ignore next */
79
82
timerFunc = setTimeout
80
83
}
81
84
You can’t perform that action at this time.
0 commit comments