<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>speg03</author_name>
  <author_url>https://blog.hatena.ne.jp/speg03/</author_url>
  <blog_title>speg03の雑記帳</blog_title>
  <blog_url>https://speg03.hatenadiary.jp/</blog_url>
  <categories>
    <anon>javascript</anon>
  </categories>
  <description>JavaScriptのオブジェクトリテラルでプロパティ名に予約語を使うと問題になるかも。次のコード片はIE6（でしか確認してないけれど）でclassの行がスクリプトエラーになる。 var data = { title: &quot;Google&quot;, attr: { href: &quot;http://www.google.com/&quot;, class: &quot;cssClass&quot; } }; じゃあ、この際、全部引用符で囲めばいいんじゃね、というわけで。 var data = { &quot;title&quot;: &quot;Google&quot;, &quot;attr&quot;: { &quot;href&quot;: &quot;http://www.google.com/&quot;, &quot;class&quot;: …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fspeg03.hatenadiary.jp%2Fentry%2F20110210%2F1297302728&quot; title=&quot;オブジェクトリテラルのプロパティ名は引用符で囲む - speg03の雑記帳&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>2011-02-10 10:52:08</published>
  <title>オブジェクトリテラルのプロパティ名は引用符で囲む</title>
  <type>rich</type>
  <url>https://speg03.hatenadiary.jp/entry/20110210/1297302728</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
