Skip to content

Conversation

@tmeasday
Copy link
Contributor

@tmeasday tmeasday commented May 1, 2014

Hey Chris,

Please consider this PR more carefully. It allows usage like

{{#Layout template='layout' footer='footer'}}

As we discussed.

I would have just pushed this to devel but for one slightly controversial change -- see 812320c. Let me know if it's not clear why I had to do this, but I think it's a reasonable thing to do. All the IR + BL tests are passing and Verso seems to be working with this codebase, so I'm pretty happy with it.

Cheers

tmeasday added 14 commits May 1, 2014 17:27
This means that the component, or specifically `getRegion()` will receive updates to data reactively (for instance if you do `{{#Layout template='layoutWithFooter' footer=someHelperThatReturnsATemplateName}}`).

So we can use `data()` as a secondary source of region names reliably, and all is roses :)
@cmather -- notice that it fails against master. Good job!
Conflicts:
	layout-test.html
Conflicts:
	layout-test.html
	layout-test.js
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