esamattis / requirejs-hbs

Simple Handlebars loader plugin for RequireJS
Other
78 stars 21 forks source link

Much simpler runtime-only inclusion #14

Closed BenoitZugmeyer closed 10 years ago

BenoitZugmeyer commented 10 years ago

@kusmierz asked me if we could simplify the runtime-only inclusion to be able to run a project without adding a lot of hard to catch configuration, so I dig in and found that we could simply add a plugin configuration value to specify where the handlebars compiler is.

So here it is. This version is not backward compatible with my previous approach, but is much more simple to understand. I'm sorry I didn't think about this the first time!

Feel free to take a look and ask me for clarifications if you need it.

kusmierz commented 10 years ago

Thanks, @BenoitZugmeyer, looks much cleaner!