@os-design/utils
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -5,2 +5,3 @@ export { default as bodyScroll } from './utils/bodyScroll'; | ||
export { default as enableScrolling } from './utils/enableScrolling'; | ||
export { default as getBoundingRect } from './utils/getBoundingRect'; | ||
export { default as isBrowser } from './utils/isBrowser'; | ||
@@ -7,0 +8,0 @@ export { default as isTouchDevice } from './utils/isTouchDevice'; |
@@ -21,2 +21,4 @@ "use strict"; | ||
Object.defineProperty(exports, "enableScrolling", { enumerable: true, get: function () { return enableScrolling_1.default; } }); | ||
var getBoundingRect_1 = require("./utils/getBoundingRect"); | ||
Object.defineProperty(exports, "getBoundingRect", { enumerable: true, get: function () { return getBoundingRect_1.default; } }); | ||
var isBrowser_1 = require("./utils/isBrowser"); | ||
@@ -23,0 +25,0 @@ Object.defineProperty(exports, "isBrowser", { enumerable: true, get: function () { return isBrowser_1.default; } }); |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const isTouchDevice = () => 'ontouchstart' in window || navigator.msMaxTouchPoints > 0; | ||
const isBrowser_1 = __importDefault(require("./isBrowser")); | ||
const isTouchDevice = () => (isBrowser_1.default() ? 'ontouchstart' in window || navigator.msMaxTouchPoints > 0 : false); | ||
exports.default = isTouchDevice; | ||
//# sourceMappingURL=isTouchDevice.js.map |
{ | ||
"name": "@os-design/utils", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"license": "UNLICENSED", | ||
@@ -25,3 +25,3 @@ "main": "lib/index.js", | ||
}, | ||
"gitHead": "33f203ab41c36dd91b6330f1d39029b01fd15a3c" | ||
"gitHead": "adb5671681bbf693d96e42bf3b5e52a0d77708bf" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
45564
106
543