Open varrg opened 9 years ago
testcase: http://jsfiddle.net/qz5jcoaw/
seems to originate from https://github.com/ded/morpheus/blob/master/morpheus.js#L369
possible fix:
change: (https://github.com/ded/morpheus/blob/master/morpheus.js#L367)
typeof tmp == 'string' && tmp.charAt(0) == '#' ?
to:
typeof tmp == 'string' && rgbOhex.test(tmp) ?
testcase: http://jsfiddle.net/qz5jcoaw/
seems to originate from https://github.com/ded/morpheus/blob/master/morpheus.js#L369
possible fix:
change: (https://github.com/ded/morpheus/blob/master/morpheus.js#L367)
to: