@daybrush/utils
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -25,2 +25,2 @@ import { ObjectInterface } from "./consts"; | ||
export declare function now(): number; | ||
export declare const requestAnimationFrame: (callback: FrameRequestCallback) => number; | ||
export declare const requestAnimFrame: (callback: FrameRequestCallback) => number; |
@@ -138,3 +138,3 @@ var prefixes = ["webkit", "ms", "moz", "o"]; | ||
} | ||
var requestAnimationFrame = | ||
var requestAnimFrame = | ||
/*#__PURE__*/ | ||
@@ -358,3 +358,3 @@ function () { | ||
export { COLOR_MODELS, cutHex, hexToRGBA, hex3to6, hslToRGBA, stringToRGBA, RGB, RGBA, HSL, HSLA, TRANSFORM, FILTER, ANIMATION, KEYFRAMES, isUndefined, isObject, isArray, isString, splitSpace, splitComma, splitBracket, splitUnit, camelize, decamelize, now, requestAnimationFrame, hasClass, addClass, removeClass, fromCSS }; | ||
export { COLOR_MODELS, cutHex, hexToRGBA, hex3to6, hslToRGBA, stringToRGBA, RGB, RGBA, HSL, HSLA, TRANSFORM, FILTER, ANIMATION, KEYFRAMES, isUndefined, isObject, isArray, isString, splitSpace, splitComma, splitBracket, splitUnit, camelize, decamelize, now, requestAnimFrame, hasClass, addClass, removeClass, fromCSS }; | ||
//# sourceMappingURL=utils.esm.js.map |
@@ -142,3 +142,3 @@ 'use strict'; | ||
} | ||
var requestAnimationFrame = | ||
var requestAnimFrame = | ||
/*#__PURE__*/ | ||
@@ -387,3 +387,3 @@ function () { | ||
exports.now = now; | ||
exports.requestAnimationFrame = requestAnimationFrame; | ||
exports.requestAnimFrame = requestAnimFrame; | ||
exports.hasClass = hasClass; | ||
@@ -390,0 +390,0 @@ exports.addClass = addClass; |
{ | ||
"name": "@daybrush/utils", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "utils for daybrush", | ||
@@ -5,0 +5,0 @@ "main": "dist/utils.js", |
@@ -33,2 +33,2 @@ # @daybrush/utils [![npm version](https://badge.fury.io/js/%40daybrush%2Futils.svg)](https://badge.fury.io/js/%40daybrush%2Futils) | ||
* fromCSS, | ||
* requestAnimationFrame | ||
* requestAnimFrame( = requestAnimationFrame) |
@@ -83,3 +83,3 @@ import { ObjectInterface } from "./consts"; | ||
} | ||
export const requestAnimationFrame = /*#__PURE__*/(() => { | ||
export const requestAnimFrame = /*#__PURE__*/(() => { | ||
const firstTime = now(); | ||
@@ -86,0 +86,0 @@ |
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
68738