| Page 1 of 1 | [ 3 posts ] |
MarcYUI Contributor
|
Hi,
I just published a new version of the Handlebars-Loader in the gallery, which now offers transparent remote loading of templates. I also added a id to fileRef converter option that allows you to automatically convert local node id references to remote file references. E.g. convert inbox-message_en-hbs to en/inbox/message.hbs for remote loading. This is for everybody who doesn't use Node.js and therefore cannot benefit from server side javascript compilation of Handlebars templates. Handlebars Loader loads and compiles your Handlebars templates: * From a node included on the page * From a remote location Let me know any thoughts. Marc |
|
Sweet!
Have you thought about compiling templates as a build step? That way you could still uses them even in a non-Node.js server environment: http://yuilibrary.com/yui/docs/handleba ... mmand-line |
MarcYUI Contributor
|
Yeah, I did actually think about that, but I haven't gotten around to trying that out yet. If I do that, I won't need the Handlebars Loader of course. I could just use the YUI Loader
|
| Page 1 of 1 | [ 3 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group