2017-03-19 16:14:28 +00:00
|
|
|
import * as plugins from './smarthbs.plugins'
|
|
|
|
|
2017-03-25 19:23:47 +00:00
|
|
|
plugins.handlebars.registerHelper('__compile', (evaluationString, evaluationContext) => {
|
|
|
|
let template = plugins.handlebars.compile(evaluationString)
|
|
|
|
return template(evaluationContext)
|
|
|
|
})
|
2017-03-19 16:14:28 +00:00
|
|
|
|
2017-05-01 14:57:53 +00:00
|
|
|
|