Expressions / refactor operators to avoid linting errors

Previously the utilities used the Operators dict before its definition.
This commit is contained in:
Olivier Guyot
2019-10-25 10:34:32 +02:00
parent a64f2eb720
commit 9e010631c1
2 changed files with 273 additions and 272 deletions

View File

@@ -44,7 +44,8 @@ const style = {
],
color: ['interpolate',
animRatio,
newColor, oldColor],
newColor, oldColor
],
opacity: ['-', 1.0, ['*', animRatio, 0.75]]
}
};