fix missing lodash

This commit is contained in:
Horcrux
2016-06-10 23:48:20 +08:00
parent 239e1c928d
commit 220ea779b0

View File

@@ -1,3 +1,4 @@
import _ from 'lodash';
export default function (stops, opacity) {
if (isNaN(opacity)) {
opacity = 1;