Since the last update (#7) I got the following error: SyntaxError: Strict mode does not allow function declarations in a lexically nested statement. over here:
|
if (color.length === 7) { |
|
function x(i) { |
|
return parseInt(color.substring(i, i + 2), 16) / 255; |
|
} |
|
return [x(1), x(3), x(5)]; |
|
} |
It is because strict mode doesn't allow defining a function inside a lexical block like if .
Since you don't use releases it's hard to use a previous version when using bower.
Since the last update (#7) I got the following error:
SyntaxError: Strict mode does not allow function declarations in a lexically nested statement.over here:angular-farbtastic/angular-farbtastic.js
Lines 381 to 386 in 132b32b
It is because strict mode doesn't allow defining a function inside a lexical block like
if.Since you don't use releases it's hard to use a previous version when using bower.