fastclick-pro
Advanced tools
Comparing version 1.0.6 to 1.0.7
'use strict'; | ||
function utils() { | ||
var isClient = !!window; | ||
var isClient = typeof window !== 'undefined'; | ||
@@ -6,0 +6,0 @@ if (!isClient) { |
function utils() { | ||
var isClient = !!window; | ||
var isClient = typeof window !== 'undefined'; | ||
@@ -4,0 +4,0 @@ if (!isClient) { |
{ | ||
"name": "fastclick-pro", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs.js", |
# fastclick-pro | ||
``` | ||
npm i fastclick-pro | ||
or | ||
yarn add fastclick-pro | ||
``` | ||
优化fastclick的问题 | ||
@@ -3,0 +13,0 @@ |
export default function utils() { | ||
const isClient= !!window | ||
const isClient= typeof window !== 'undefined' | ||
if(!isClient) { | ||
@@ -4,0 +4,0 @@ return { |
82769
33