Skip to content

Conversation

@jairo-bc
Copy link
Contributor

@jairo-bc jairo-bc commented Sep 1, 2020

No description provided.

@bigbot
Copy link

bigbot commented Sep 1, 2020

Autotagging @bigcommerce/storefront-team


export default class extends EventEmitter {
on(eventName, elementSelector, handler) {
subscribe(eventName, elementSelector, handler) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we making this change ? Is there some kind of name collusion?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, that's why some tests were failing on cornerstone. EventEmitter has method with name on

@junedkazi junedkazi merged commit a5b3c5d into bigcommerce:master Sep 3, 2020
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.

3 participants