-
Notifications
You must be signed in to change notification settings - Fork 221
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use lodash-es and upgrade to [email protected] #3589
Conversation
@@ -56,7 +56,7 @@ export function makeSymbolCanvasDrawStep( | |||
|
|||
// check attributes and symbol type | |||
const attrsSame = isAttributeValuesEqual(prevAttrs, attrs, ContextStyleAttrs); | |||
const symbolGenerator = symbolAccessor(datum, index, this._dataset); | |||
const symbolGenerator = symbolAccessor(datum, index, dataset); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder why this ever worked, since the this
in a browser context refers to the window
object and doesn't make any sense here. Maybe a transpilation bug that is surfacing now that we've upgraded typescript?
Remove weird reference to thisDemo: quicktests | fiddle |
A lot of casting to |
Pick instead of casting and import typeDemo: quicktests | fiddle |
Fix indentationDemo: quicktests | fiddle |
Remove unnecessary castingDemo: quicktests | fiddle |
lodash-es@^4.17.15: | ||
version "4.17.15" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Matches our internal version
Use [email protected]Demo: quicktests | fiddle |
No description provided.