<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>vividcode</author_name>
  <author_url>https://blog.hatena.ne.jp/vividcode/</author_url>
  <blog_title>vivid memo</blog_title>
  <blog_url>https://vividcode.hatenadiary.org/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>昨日書いた 「IE でも event.currentTarget を使えるようにする」 の記事の後半部分のコードなのですが、IE8 でじっくりと動作を追ってみるとどうも期待通りの動作ではないことがわかりました。 window.attachEvent(&quot;onunload&quot;, (function () { // target._vividcode_el も onunload イベントで解体するので, // 下手すると参照前に解体されている可能性もある. // よって, あらかじめ局所変数に読み込んでおく. var func = target._vividcode_el[i][1]; return …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fvividcode.hatenadiary.org%2Fentry%2F20090711%2F1247315714&quot; title=&quot;名前つきの関数リテラルに関するよくわからない IE の挙動 - vivid memo&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>2009-07-11 21:35:14</published>
  <title>名前つきの関数リテラルに関するよくわからない IE の挙動</title>
  <type>rich</type>
  <url>https://vividcode.hatenadiary.org/entry/20090711/1247315714</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
