<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>stylist</author_name>
  <author_url>https://blog.hatena.ne.jp/stylist/</author_url>
  <blog_title>Surflog 2.0</blog_title>
  <blog_url>https://stylist.hatenadiary.org/</blog_url>
  <categories>
    <anon>Javascript</anon>
  </categories>
  <description>Handlebars.jsのヘルパーを独自に定義することができます。 参考：Handlebars.jsregisterHelperを使い、ヘルパーを自作するExpressionヘルパーと、Blockヘルパーの2種類がある。 Expressionヘルパーはテンプレート中の{{Expression}}を使って呼び出す。 Blockヘルパーはテンプレート中のブロック{{#blockName}}...{{/blockName}}から呼び出す。Expressionヘルパーをつくってみる。 // ヘルパーの定義 // greatという名前のヘルパーを定義 Handlebars.registerHelper…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstylist.hatenadiary.org%2Fentry%2F20120424%2F1335228855&quot; title=&quot;Handlebar.jsを使ったヘルパーの登録 - Surflog 2.0&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-04-24 09:54:15</published>
  <title>Handlebar.jsを使ったヘルパーの登録</title>
  <type>rich</type>
  <url>https://stylist.hatenadiary.org/entry/20120424/1335228855</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
