<?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 for JSPatterns.com</title>
	<atom:link href="http://www.jspatterns.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jspatterns.com</link>
	<description>Exploring common JavaScript patterns and anti-patterns</description>
	<pubDate>Fri, 04 Jul 2008 04:47:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5-RC1</generator>
		<item>
		<title>Comment on Init-time branching by stoyan</title>
		<link>http://www.jspatterns.com/coding-patterns/init-time-branching/#comment-78</link>
		<dc:creator>stoyan</dc:creator>
		<pubDate>Fri, 11 Apr 2008 21:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.jspatterns.com/?page_id=13#comment-78</guid>
		<description>Yes, thanks Pablo, you can definitely do this. I have it as a separate pattern worthy of an article itself ;)</description>
		<content:encoded><![CDATA[<p>Yes, thanks Pablo, you can definitely do this. I have it as a separate pattern worthy of an article itself <img src='http://www.jspatterns.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Init-time branching by Pablo Cabrera</title>
		<link>http://www.jspatterns.com/coding-patterns/init-time-branching/#comment-77</link>
		<dc:creator>Pablo Cabrera</dc:creator>
		<pubDate>Fri, 11 Apr 2008 19:30:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.jspatterns.com/?page_id=13#comment-77</guid>
		<description>You could also use lazy definition to do your branching. Something like this...
&lt;pre&gt;
function myEvent(el, type, fn) {
  if (window.addEventListener) {
    myEvent = function(el, type, fn) {
      el.addEventListener(type, fn, false);
    };
  } else if (window.attachEvent) {
    myEvent = function(el, type, fn) {
      el.attachEvent("on" + type, fn);
    };
  }

  return myEvent(el, type, fn);
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>You could also use lazy definition to do your branching. Something like this&#8230;</p>
<pre>
function myEvent(el, type, fn) {
  if (window.addEventListener) {
    myEvent = function(el, type, fn) {
      el.addEventListener(type, fn, false);
    };
  } else if (window.attachEvent) {
    myEvent = function(el, type, fn) {
      el.attachEvent("on" + type, fn);
    };
  }

  return myEvent(el, type, fn);
}
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Welcome to JSPatterns.com by jagi4</title>
		<link>http://www.jspatterns.com/welcome-to-jspatternscom/#comment-53</link>
		<dc:creator>jagi4</dc:creator>
		<pubDate>Tue, 08 Apr 2008 08:27:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.jspatterns.com/?p=6#comment-53</guid>
		<description>\o/</description>
		<content:encoded><![CDATA[<p>\o/</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Using literals by phpied.com &#187; Blog Archive &#187; JSPatterns.com up again</title>
		<link>http://www.jspatterns.com/coding-patterns/using-literals/#comment-12</link>
		<dc:creator>phpied.com &#187; Blog Archive &#187; JSPatterns.com up again</dc:creator>
		<pubDate>Fri, 28 Mar 2008 07:12:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.jspatterns.com/?page_id=8#comment-12</guid>
		<description>[...] for anything interesting in the ever so exciting world of JavaScript. So far nothing special there (example), but keep an eye on it, as I plan to fill up the TOC (recovered from the old wiki) with top [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] for anything interesting in the ever so exciting world of JavaScript. So far nothing special there (example), but keep an eye on it, as I plan to fill up the TOC (recovered from the old wiki) with top [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Welcome to JSPatterns.com by stoyan</title>
		<link>http://www.jspatterns.com/welcome-to-jspatternscom/#comment-5</link>
		<dc:creator>stoyan</dc:creator>
		<pubDate>Wed, 26 Mar 2008 06:20:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.jspatterns.com/?p=6#comment-5</guid>
		<description>Another comment</description>
		<content:encoded><![CDATA[<p>Another comment</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Welcome to JSPatterns.com by stoyan</title>
		<link>http://www.jspatterns.com/welcome-to-jspatternscom/#comment-4</link>
		<dc:creator>stoyan</dc:creator>
		<pubDate>Wed, 26 Mar 2008 06:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.jspatterns.com/?p=6#comment-4</guid>
		<description>Almost there. Man, designing web pages takes forever!</description>
		<content:encoded><![CDATA[<p>Almost there. Man, designing web pages takes forever!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Coding Patterns by stoyan</title>
		<link>http://www.jspatterns.com/coding-patterns/#comment-3</link>
		<dc:creator>stoyan</dc:creator>
		<pubDate>Wed, 26 Mar 2008 04:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://jspatterns.com/coding-patterns/#comment-3</guid>
		<description>testing comment on a page</description>
		<content:encoded><![CDATA[<p>testing comment on a page</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Welcome to JSPatterns.com by stoyan</title>
		<link>http://www.jspatterns.com/welcome-to-jspatternscom/#comment-2</link>
		<dc:creator>stoyan</dc:creator>
		<pubDate>Wed, 26 Mar 2008 04:18:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.jspatterns.com/?p=6#comment-2</guid>
		<description>Still working on the theme... and testing comments.</description>
		<content:encoded><![CDATA[<p>Still working on the theme&#8230; and testing comments.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
