-
-
Notifications
You must be signed in to change notification settings - Fork 115
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
Support dots in names of templates. #38
Comments
Still would be awesome to have, if there are some guidelines I'd be happy to create a pull request for it. |
Please upvote the issue and don't comment for upvote. |
If you're referencing my comment then that's not accurate, as I'm also communicating that
with guidelines I mean actual references in the source code to show where the crucial parts are to make this happen. |
No, it was one other comment before, which has been in meantime deleted by the author and converted to an upvote above. Sorry for confusion.
For that, this has been implemented in Blaze Components, you can check there. I wrote a short guide for how this could be added to Blaze here. Blaze Components do it in a bit different way with exact namespaces (so namespace is a different thing than a template/component, so that you can have both |
But one thing. This particular feature is something I think would be more suitable for Blaze 2 release. So what I imagine for current Blaze (1) is to just fix bugs and keep it as it is more or less. For Blaze 2 we should probably then reiterate on few things (like what is |
Also makes sense to me, might confusing for people though that EasySearch has |
{{> Template.dynamic template='dot.named.template'}} works for me |
Should we make this be Does |
I'm not sure if it works with quotes, but would be okay for me. Should the dotted notation already work? As in if |
I have no idea if it works. I think it is a bit trickier anyway. Because we should decide if nested helpers mean that you have an object with templates, or do you have a template with name which contains a dot. So is |
I'm closing this issue because it's too old. If you think this issue is still relevant please open a new one. Why? We need to pay attention to all the open items so we should keep opened only items where people are involved. |
Originally posted on meteor/meteor#5584 by @matteodem
Create an empty meteor app (version 1.2.1) and paste in following html:
Which does not work, whereas the same template without the . in its name works.
The text was updated successfully, but these errors were encountered: