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

Update UI.body usage to comply with 0.8.0-rc3 changes #145

Open
Trindaz opened this issue Apr 22, 2014 · 0 comments
Open

Update UI.body usage to comply with 0.8.0-rc3 changes #145

Trindaz opened this issue Apr 22, 2014 · 0 comments

Comments

@Trindaz
Copy link

Trindaz commented Apr 22, 2014

From the SO question that spawned this issus[1]:

The problem seems to be caused by UI.body member assignments at https://github.com/tmeasday/meteor-router/blob/v0.6.1/lib/router_client.js#L89-L90 . This breaks changes introduced in Meteor 0.8.0-rc3 https://groups.google.com/forum/#!msg/meteor-talk/oatU1zzcaeQ/54ay-pPlRrwJ .

From the release: "Templates no longer automatically access the helpers of ancestors [11]. If you were declaring helpers with UI.body.helpers you need to switch to UI.registerHelper instead."

Fixing this probably partially fixes fixes issue 140 (Make compatible with Blaze).

Expect a PR from me shortly on this, a fun way to make my first contribution to the meteor community!

[1] http://stackoverflow.com/questions/23232216/why-doesnt-this-template-code-from-the-discover-metor-book-work/23232287#23232287

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