add partials support
This commit is contained in:
parent
036434dd7a
commit
bea662e2e7
7 changed files with 44 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
// Handlebar helpers
|
||||
Handlebars.registerHelper('well', function(options) {
|
||||
return '<div class="well">' + options.fn(this) + '</div>';
|
||||
});
|
||||
|
||||
Handlebars.registerPartial('item', '<table class="table table-bordered"><tr><td>{{ name }}<td><td></tr></table>')
|
||||
/* © 2013 j201
|
||||
* https://github.com/j201/meta-marked */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue