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

nameing using namespace for JST #2

Open
yairEO opened this issue Jun 16, 2014 · 2 comments
Open

nameing using namespace for JST #2

yairEO opened this issue Jun 16, 2014 · 2 comments

Comments

@yairEO
Copy link

yairEO commented Jun 16, 2014

hi great work here. have been using it for a while now.
I had come to a point where I need to check in my code if a certain template exists within a folder of templates. for example I have files in folder foo, so I would really like them to be added like so JST['foo']['filename'] and so on, so the folder is actually an object and not a part of the name itself. Is there a way of doing so? thanks!

@ingro
Copy link
Owner

ingro commented Jun 23, 2014

That could be a good idea, I've not much spare time lately but I'll look at it as soon I have some. Thanks for the suggestion!

@yairEO
Copy link
Author

yairEO commented Jun 23, 2014

that would really make it rock. an example would be a code which triggers a certain template, and I do not know if the thing the code wants to run even exists in the templates a specific folder, so I need to check if the key of the given name of the template exist in that scope. I cannot do this with the current implementation.

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

2 participants