sparkartgroup-archive / sparkart.js

Easily interact with Sparkart's APIs via Javascript.
1 stars 0 forks source link

Pre-compiled Handlebars templates not supported #51

Closed pushred closed 11 years ago

pushred commented 11 years ago

Sparkart.js currently compiles all Handlebars templates on the fly. But Solidus pre-compiles templates and provides the Handlebars runtime, so this isn't necessary. I'd like to pass pre-compiled template functions to override default templates, like so:

templates: {
    customer: solidus.templates['fanclub/customer']
}
pushred commented 11 years ago

Looks like you forgot to update the readme