<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suzaku0914</author_name>
  <author_url>https://blog.hatena.ne.jp/suzaku0914/</author_url>
  <blog_title>エンターテイメント！！</blog_title>
  <blog_url>https://suzaku-tec.hatenadiary.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>JavaScriptの競合 現場で、JavaScriptの関数競合が起きて、てんやわんやしてた。 自分が関与してない案件だったので、遠目で「大変そうだなぁ〜」くらいで見ていたが、自分がそういった状況に陥っても大丈夫なように、回避策を考えてみたのが、事の発端。 競合の例 話をスパイからチラッと聞いたが、だいたい以下みたいな感じ &lt;!-- test.html --&gt; &lt;html&gt; &lt;head&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;sample1.js&quot;&gt;&lt;/script&gt; &lt;script type=&quot;text/javascript&quot; src=&quot;sample2.j…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2015%2F12%2F22%2F000134&quot; title=&quot;JavaScriptの関数競合問題解決の個人的メモ - エンターテイメント！！&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>2015-12-22 00:01:34</published>
  <title>JavaScriptの関数競合問題解決の個人的メモ</title>
  <type>rich</type>
  <url>https://suzaku-tec.hatenadiary.jp/entry/2015/12/22/000134</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
