Skip to content
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

Remove unneeded check as data-ember-action no longer contains a value #14871

Merged
merged 1 commit into from
Jan 24, 2017

Conversation

GavinJoyce
Copy link
Member

The Glimmer 2 action helper doesn't set a value for data-ember-action, so we no longer need to compare it to "".

@GavinJoyce GavinJoyce changed the title [BUGFIX beta] data-ember-action no longer has a value [BUGFIX beta] remove unneeded check as data-ember-action no longer contains a value Jan 24, 2017
@GavinJoyce GavinJoyce changed the title [BUGFIX beta] remove unneeded check as data-ember-action no longer contains a value Remove unneeded check as data-ember-action no longer contains a value Jan 24, 2017
@GavinJoyce GavinJoyce changed the title Remove unneeded check as data-ember-action no longer contains a value [wip] Remove unneeded check as data-ember-action no longer contains a value Jan 24, 2017
@GavinJoyce GavinJoyce force-pushed the gj/simplify-event-handler branch from cb93920 to 4f9dcfb Compare January 24, 2017 13:31
@GavinJoyce GavinJoyce force-pushed the gj/simplify-event-handler branch from 4f9dcfb to 7e177ec Compare January 24, 2017 13:34
@GavinJoyce GavinJoyce changed the title [wip] Remove unneeded check as data-ember-action no longer contains a value Remove unneeded check as data-ember-action no longer contains a value Jan 24, 2017
@GavinJoyce
Copy link
Member Author

this is 🍏 and ready for review

@GavinJoyce GavinJoyce mentioned this pull request Jan 24, 2017
1 task
@rwjblue rwjblue merged commit 177ec98 into emberjs:master Jan 24, 2017
@GavinJoyce GavinJoyce deleted the gj/simplify-event-handler branch January 24, 2017 18:58
}
let attributes = evt.currentTarget.attributes;
let attributeCount = attributes.length;
let actions = [];
Copy link
Member

Choose a reason for hiding this comment

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

allocating this array even if we don't need too is a-bit strange. (not a big deal though)

Copy link
Member

Choose a reason for hiding this comment

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

ya, i guess this really doesn't matter here :P

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