scriptの空タグの有無で挙動が変わる?
<script type="text/javascript" src="http://del.icio.us/feeds/json/okela"></script>
と
<script type="text/javascript" src="http://del.icio.us/feeds/json/okela" />
は等値。のはず。だと思ってたんだけど。
どうも挙動が変わる。
いずれの場合もJavaScriptコンソールでは
警告: assignment to undeclared variable Delicious
ソースファイル: http://del.icio.us/feeds/json/okela
行: 1
が出るのだけど、空タグを使った場合はその後の処理が上手くいかない。(Fx1.5.0.7)
なんでだろ。