aliyun-common-utils
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -19,3 +19,3 @@ /** | ||
} else if (typeof(colorFrom) === 'object' && !arguments[1]) { | ||
return blending(colorFrom.from, colorFrom.to, colorFrom.space, colorFrom.easing, colorFrom.default).toFunc(); | ||
return blending(colorFrom.from, colorFrom.to, colorFrom.space, colorFrom.easing, colorFrom.default || colorFrom.none).toFunc(); | ||
} else if (typeof(colorFrom === 'number')) { | ||
@@ -22,0 +22,0 @@ return function() { |
@@ -5,3 +5,3 @@ { | ||
"description": "组件中的公共方法", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"scripts": { | ||
@@ -8,0 +8,0 @@ "test": "mocha -r jscoverage test" |
31134