<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: JavaScript Conditionals from ERb</title>
	<atom:link href="http://kill-0.com/duplo/2008/05/01/javascript-conditionals-from-erb/feed/" rel="self" type="application/rss+xml" />
	<link>http://kill-0.com/duplo/2008/05/01/javascript-conditionals-from-erb/</link>
	<description>Building Blocks &#38; Learning Experiences</description>
	<lastBuildDate>Fri, 24 Feb 2012 03:26:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Justin Holzer</title>
		<link>http://kill-0.com/duplo/2008/05/01/javascript-conditionals-from-erb/comment-page-1/#comment-631</link>
		<dc:creator>Justin Holzer</dc:creator>
		<pubDate>Sun, 18 Jan 2009 17:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://kill-0.com/duplo/2008/05/01/javascript-conditionals-from-erb/#comment-631</guid>
		<description>I personally think what you&#039;ve demonstrated here is great. I am using a similar technique in one of my own projects, and am expanding my library a bit to allow for generating generic if and else if blocks, else blocks, as well as other &quot;canned&quot; conditionals. It may just be &quot;syntactic sugar&quot;, but code readability is one of the most important pieces for having a successful application IMO. The only thing I&#039;ve changed from what you&#039;ve done is made the method name a little more verbose and called it &quot;if_element_exists&quot;, but at that point we&#039;re splitting hairs. Great post and thanks for the tip!</description>
		<content:encoded><![CDATA[<p>I personally think what you&#8217;ve demonstrated here is great. I am using a similar technique in one of my own projects, and am expanding my library a bit to allow for generating generic if and else if blocks, else blocks, as well as other &#8220;canned&#8221; conditionals. It may just be &#8220;syntactic sugar&#8221;, but code readability is one of the most important pieces for having a successful application IMO. The only thing I&#8217;ve changed from what you&#8217;ve done is made the method name a little more verbose and called it &#8220;if_element_exists&#8221;, but at that point we&#8217;re splitting hairs. Great post and thanks for the tip!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

