<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Opera, REST APIs, Module Patterns and generated script nodes</title>
	<atom:link href="http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/</link>
	<description>Chris Heilmann - Accessibilty, Web Development and Pragmatism - can talk, will travel</description>
	<pubDate>Sun, 06 Jul 2008 19:53:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Zach Leatherman</title>
		<link>http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/#comment-7557</link>
		<dc:creator>Zach Leatherman</dc:creator>
		<pubDate>Tue, 29 Apr 2008 04:21:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/#comment-7557</guid>
		<description>Well, I found the answer to my own question eventually.

In the interest of anyone also wondering:

No var declaration for globals
http://yuiblog.com/blog/2008/04/16/global-domination-part-two/

Although, I personally don't agree with it, but thats at least why some Yahoo's don't use it.</description>
		<content:encoded><![CDATA[<p>Well, I found the answer to my own question eventually.</p>
<p>In the interest of anyone also wondering:</p>
<p>No var declaration for globals<br />
<a href="http://yuiblog.com/blog/2008/04/16/global-domination-part-two/" rel="nofollow">http://yuiblog.com/blog/2008/04/16/global-domination-part-two/</a></p>
<p>Although, I personally don&#8217;t agree with it, but thats at least why some Yahoo&#8217;s don&#8217;t use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marius-Remus Mate</title>
		<link>http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/#comment-7480</link>
		<dc:creator>Marius-Remus Mate</dc:creator>
		<pubDate>Sun, 13 Apr 2008 18:08:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/#comment-7480</guid>
		<description>The original code works in the latest 9.50 beta snapshot, as does the OperaSafe code.</description>
		<content:encoded><![CDATA[<p>The original code works in the latest 9.50 beta snapshot, as does the OperaSafe code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach Leatherman</title>
		<link>http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/#comment-7479</link>
		<dc:creator>Zach Leatherman</dc:creator>
		<pubDate>Fri, 11 Apr 2008 18:22:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/#comment-7479</guid>
		<description>I agree, it seems like you're trying to use the callback before it may be defined.  I think your twitterbadgeOperaSafe code is just fine as is, and doesn't need to be labeled as OperaSafe at all.

Just a question though, why no var declaration?</description>
		<content:encoded><![CDATA[<p>I agree, it seems like you&#8217;re trying to use the callback before it may be defined.  I think your twitterbadgeOperaSafe code is just fine as is, and doesn&#8217;t need to be labeled as OperaSafe at all.</p>
<p>Just a question though, why no var declaration?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Borgar</title>
		<link>http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/#comment-7478</link>
		<dc:creator>Borgar</dc:creator>
		<pubDate>Fri, 11 Apr 2008 17:35:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/#comment-7478</guid>
		<description>Kangax is right, deferring the insert works. This would simulate what is happening in the other browsers. You would only need a millisecond, that's enough to push it to the next round.

Quick question: If Opera is executing the script right there in mid-function, why isn't it scoped by that function? This seems really wrong or inconsistent with load time behavior, why isn't then the second included script on page then evaluated mid execution of first script, when it arrives?

It would be preferable if it were safe to run an include in mid-function. I agree that this isn't really a bug, as such, but rather really unfortunate behavior. I don't know about you guys, but I usually "assume" that my lines of code are run in sequence. :-)</description>
		<content:encoded><![CDATA[<p>Kangax is right, deferring the insert works. This would simulate what is happening in the other browsers. You would only need a millisecond, that&#8217;s enough to push it to the next round.</p>
<p>Quick question: If Opera is executing the script right there in mid-function, why isn&#8217;t it scoped by that function? This seems really wrong or inconsistent with load time behavior, why isn&#8217;t then the second included script on page then evaluated mid execution of first script, when it arrives?</p>
<p>It would be preferable if it were safe to run an include in mid-function. I agree that this isn&#8217;t really a bug, as such, but rather really unfortunate behavior. I don&#8217;t know about you guys, but I usually &#8220;assume&#8221; that my lines of code are run in sequence. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kangax</title>
		<link>http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/#comment-7477</link>
		<dc:creator>kangax</dc:creator>
		<pubDate>Fri, 11 Apr 2008 16:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.wait-till-i.com/2008/04/11/opera-rest-apis-module-patterns-and-generated-script-nodes/#comment-7477</guid>
		<description>What about deferring script insertion?

setTimeout(function(){
  document.getElementsByTagName('head')[0].appendChild(s)
}, 10);


- kangax</description>
		<content:encoded><![CDATA[<p>What about deferring script insertion?</p>
<p>setTimeout(function(){<br />
  document.getElementsByTagName(&#8217;head&#8217;)<sup class="footnote"><a href="#fn0">0</a></sup>.appendChild(s)<br />
}, 10);</p>
<p>- kangax</p>
]]></content:encoded>
	</item>
</channel>
</rss>
