tinygradient
Advanced tools
Comparing version 1.1.4 to 1.1.5
/*! | ||
* tinygradient (v1.1.4) | ||
* tinygradient (v1.1.5) | ||
* @copyright 2014-2021 Damien "Mistic" Sorel <contact@git.strangeplanet.fr> | ||
@@ -249,5 +249,3 @@ * @licence MIT | ||
var TinyGradient = | ||
/*#__PURE__*/ | ||
function () { | ||
var TinyGradient = /*#__PURE__*/function () { | ||
/** | ||
@@ -469,3 +467,3 @@ * @param {StopInput[]|ColorInput[]} stops | ||
if (arguments.length === 1) { | ||
if (!(arguments[0] instanceof Array)) { | ||
if (!Array.isArray(arguments[0])) { | ||
throw new Error('"stops" is not an array'); | ||
@@ -472,0 +470,0 @@ } |
@@ -428,3 +428,3 @@ const tinycolor = require('tinycolor2'); | ||
if (arguments.length === 1) { | ||
if (!(arguments[0] instanceof Array)) { | ||
if (!Array.isArray(arguments[0])) { | ||
throw new Error('"stops" is not an array'); | ||
@@ -431,0 +431,0 @@ } |
{ | ||
"name": "tinygradient", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Damien \"Mistic\" Sorel", |
Sorry, the diff of this file is not supported yet
60968
859