Package Exports
- @jdists/handlebars
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jdists/handlebars) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@jdists/handlebars
handlebars as jdists processor
@see jdists
@see handlebars
Example
<!--data>
kids:
- name: Jimmy
age: '12'
- name: Sally
age: '4'
</data-->
<!--jdists encoding="handlebars" data="?data"-->
<ul>
{{#kids}}
<li>{{name}} is {{age}}</li>
{{/kids}}
</ul>
<!--/jdists-->
<!--extend>
require('handlebars-helpers')({
handlebars: handlebars
})
</extend-->
<!--handlebars data="?data" extend="?extend"-->
<ul>
{{#kids}}
<li>{{name}} is {{toFixed age 2}}</li>
{{/kids}}
</ul>
<!--/handlebars-->
License
MIT © zswang