The most common case that I've found for this is using events to pass
data back and forth. I personally like the encapsulation of the
templating in the app and not having it scattered everywhere. If you
do need to use handlebars outside of the application, you could _not_
include Sammy.Handlebars, just include the main handlebars and just
add the helper manually (if you look at the Sammy.Handlebars source,
the plugin itself is only around 5 lines of that whole file. Theres no
way to explicitly use an event context or a helper outside of the
context of the app as that would cause a number of problems with
certain methods/vars not being available when calling the helper.
--AQ
> --
> You received this message because you are subscribed to the Google Groups "Sammy.js" group.
> To post to this group, send email to sam...@googlegroups.com.
> To unsubscribe from this group, send email to sammyjs+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sammyjs?hl=en.
>
>