Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

pass all event params to sendAction #12

Merged
merged 2 commits into from
Dec 21, 2015
Merged

Conversation

piotrpalek
Copy link
Contributor

Hey, this PR passes the CodeMirror event arguments to the valueUpdated action. I think this can come in handy when building apps with this component. It is also needed to fix an issue in Ember Twiddle.

@piotrpalek
Copy link
Contributor Author

@omghax any thoughts on this? It would be awesome if it could be merged and released as a new version

@stefanpenner
Copy link

this LGTM, but I would recommend adding a quick test.

@omghax
Copy link
Contributor

omghax commented Dec 21, 2015

LGTM. Not sure how you'd test this, aside from asserting that there were 3 arguments passed to valueUpdated.

omghax added a commit that referenced this pull request Dec 21, 2015
pass all event params to sendAction
@omghax omghax merged commit 5cb8e64 into IvyApp:master Dec 21, 2015
@omghax
Copy link
Contributor

omghax commented Dec 21, 2015

Thanks for the PR :)

I'll get a test in place shortly and then I'll release it as 1.3.0.

omghax added a commit that referenced this pull request Dec 21, 2015
@piotrpalek
Copy link
Contributor Author

I was going to add a test (checking the amount of arguments) but seems like I'm too late here :) thx

@piotrpalek piotrpalek deleted the pass-params branch December 21, 2015 18:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants