File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
components/_util/hooks/_vueuse Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export interface ConfigurableLocation {
2828 location ?: Location ;
2929}
3030
31- export const defaultWindow = /* #__PURE__ */ isClient ? window : undefined ;
32- export const defaultDocument = /* #__PURE__ */ isClient ? window . document : undefined ;
33- export const defaultNavigator = /* #__PURE__ */ isClient ? window . navigator : undefined ;
34- export const defaultLocation = /* #__PURE__ */ isClient ? window . location : undefined ;
31+ export const defaultWindow = isClient ? window : undefined ;
32+ export const defaultDocument = isClient ? window . document : undefined ;
33+ export const defaultNavigator = isClient ? window . navigator : undefined ;
34+ export const defaultLocation = isClient ? window . location : undefined ;
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export const rand = (min: number, max: number) => {
2121 return Math . floor ( Math . random ( ) * ( max - min + 1 ) ) + min ;
2222} ;
2323export const isIOS =
24- /* #__PURE__ */ isClient &&
24+ isClient &&
2525 window ?. navigator ?. userAgent &&
2626 / i P ( a d | h o n e | o d ) / . test ( window . navigator . userAgent ) ;
2727export const hasOwn = < T extends object , K extends keyof T > ( val : T , key : K ) : key is K =>
You can’t perform that action at this time.
0 commit comments