2012-04-23から1日間の記事一覧
Handlebars.jsをはじめる 公式のマニュアルより Handlebars.js: Minimal Templating on Steroidstype="text/x-handlebars-template"を設定したscriptタグのなかにテンプレートとなる内容を記述する <script id="entry-template" type="text/x-handlebars-template"> <div class="entry"> <h1>{{title}}</h1> <div class="bod</script>…