<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Kureduki_Maari</author_name>
  <author_url>https://blog.hatena.ne.jp/Kureduki_Maari/</author_url>
  <blog_title>c4se記：さっちゃんですよ☆</blog_title>
  <blog_url>https://c4se.hatenablog.com/</blog_url>
  <categories>
    <anon>Programming</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>viewをclassにしたりしてゐると、其れをsingletonにしとくと、debugに便利だったり。別になんら新しいことではないけど、此う云ふのは何度書いても目についてゐない人は居る。 JavaScriptでsingletonを作るのは、なんら珍しいことではない。 var object = { prop: 'property', method: function() { } }; これでよい。newもconstructorも何も無い。おかしいところは何も無い。無理にclassにする前に検討すると好い。 勿論、関数としてconstructorを呼び出す形式 (class) もJavaScrip…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fc4se.hatenablog.com%2Fentry%2F2013%2F09%2F09%2F124309&quot; title=&quot;JavaScriptでsingletonを作る - c4se記：さっちゃんですよ☆&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>2013-09-09 12:43:09</published>
  <title>JavaScriptでsingletonを作る</title>
  <type>rich</type>
  <url>https://c4se.hatenablog.com/entry/2013/09/09/124309</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
