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

Expose card env to ember component cards #64

Merged
merged 1 commit into from
Mar 22, 2016
Merged

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Mar 22, 2016

My understanding of mobiledoc-kit's Card API is that env is part of the public API that a card receives from mobiledoc. If so, then it should be accessible to ember component cards.

An example of a property accessible to cards that wasn't accessible to ember component cards is env.isInEditor.

My understanding of mobiledoc-kit's Card API is that `env` is part of the public API that a card receives from mobiledoc. If so, then it should be accessible to ember component cards.

An example of a property accessible to cards that wasn't accessible to ember component cards is `env.isInEditor`.
@mixonic
Copy link
Contributor

mixonic commented Mar 22, 2016

👍

@bantic
Copy link
Contributor

bantic commented Mar 22, 2016

thanks!

bantic added a commit that referenced this pull request Mar 22, 2016
Expose card env to ember component cards
@bantic bantic merged commit 55f01da into bustle:master Mar 22, 2016
bantic added a commit that referenced this pull request Mar 22, 2016
Tests for env, editCard, saveCard, cancelCard, removeCard properties
and that `env.isInEditor` is true

Refs #64
@bantic
Copy link
Contributor

bantic commented Mar 22, 2016

released in v0.4.0

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