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

Using parens around sub-records prevents the parent from being part of the identity #673

Closed
ibdknox opened this issue Dec 9, 2016 · 0 comments
Assignees

Comments

@ibdknox
Copy link
Contributor

ibdknox commented Dec 9, 2016

The following blocks should be identical, but don't behave identically.

This works:

search
   menu-item = [#menu name image cost]
bind @browser
   [#div menu-item #item-container
     children:
      [#div text:name]
      [#div text:"${{cost}}"] ]

This doesn't:

search
   menu-item = [#menu name image cost]
bind @browser
   [#div menu-item #item-container
     children: ([#div text:name]
                      [#div text:"${{cost}}"] )]

The suspected reason is that we aren't sending the parent down through the parenthesis as a dependency for the sub-records.

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

No branches or pull requests

1 participant