-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Docs for .@each and .[] are unclear about use-cases #12360
Comments
👍 |
jamesarosen
pushed a commit
to fastly/ember-nf-graph
that referenced
this issue
Sep 17, 2015
The Ember docs aren't completely clear, but the correct usage for array dependencies is * `foo.[]` (use `.[]` when it's at the end) * `[email protected]` (use `.@each` when it's in the middle) Partially reverts 5dac002 See emberjs/ember.js#12360
jamesarosen
pushed a commit
to jamesarosen/ember-nf-graph
that referenced
this issue
Sep 17, 2015
The Ember docs aren't completely clear, but the correct usage for array dependencies is * `foo.[]` (use `.[]` when it's at the end) * `[email protected]` (use `.@each` when it's in the middle) See emberjs/ember.js#12360
I have this bookmarked for whenever I need a reminder. |
@jamesarosen true that will be helpful to clarify :) |
abepetrillo
added a commit
to abepetrillo/ember.js
that referenced
this issue
Mar 28, 2016
Updated docs in response to emberjs#12360
Closed by e0e8f7f, and a fix by @krisselden (which I can't find the link for ATM) that makes terminal @each expand to .[]. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The docs for
.@each
and.[]
properties aren't clear that.@each
should never be used as a terminal and.[]
should only be used as a terminal.See #11994 (comment)
The text was updated successfully, but these errors were encountered: