gradstop
Advanced tools
Comparing version 2.1.3 to 2.1.4
@@ -16,3 +16,3 @@ 'use strict'; | ||
function Gradstop(options) { | ||
options = (0, _polyfill.objectAssign)({}, this.options, options); | ||
options = (0, _polyfill.objectAssign)({}, _defaultOptions2.default, options); | ||
@@ -25,5 +25,2 @@ if (options.stops < options.colorArray.length) { | ||
// GradStop default options | ||
Gradstop.prototype.options = _defaultOptions2.default; | ||
// computeStops | ||
@@ -30,0 +27,0 @@ Gradstop.prototype.computeStops = function (options) { |
{ | ||
"name": "gradstop", | ||
"version": "2.1.3", | ||
"version": "2.1.4", | ||
"description": "JavaScript micro library to generate monotone color schemes and equidistant gradient stops", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
15095
190