Closed fedotov2d closed 9 years ago
Initialize new context with optional JavaScript addition, shared for both client and server, such as helpers.
hbs = Handlebars::Context.new with: File.expand_path('js/helpers.js')
I think you could probably use the method outlined in #30 to accomplish this now.
Initialize new context with optional JavaScript addition, shared for both client and server, such as helpers.
hbs = Handlebars::Context.new with: File.expand_path('js/helpers.js')