Skip to content

Add missing 'var'#85

Merged
spaghetticode merged 1 commit into
solidusio:masterfrom
willread:master
Oct 2, 2020
Merged

Add missing 'var'#85
spaghetticode merged 1 commit into
solidusio:masterfrom
willread:master

Conversation

@willread

@willread willread commented Oct 1, 2020

Copy link
Copy Markdown
Contributor

The onShippingAddressChange function is missing a var keyword which results in an implicit global and causes a strict mode violation.

There doesn't appear to be any code depending on this behaviour so I assume this is a simple fix.

@spaghetticode spaghetticode left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@willread thanks for the fix 👍

@spaghetticode spaghetticode merged commit 7ae83cb into solidusio:master Oct 2, 2020
@spaghetticode

Copy link
Copy Markdown
Member

CI failure is unrelated to the changes, so I'm merging anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants