<?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: Code I always use, part 2</title>
	<atom:link href="http://www.myraff.com/code/code-i-always-use-part-ii/feed" rel="self" type="application/rss+xml" />
	<link>http://www.myraff.com/code/code-i-always-use-part-ii</link>
	<description>The Possibilities Are Infinite</description>
	<lastBuildDate>Sat, 03 Dec 2011 13:57:43 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sam</title>
		<link>http://www.myraff.com/code/code-i-always-use-part-ii/comment-page-1#comment-135</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Sun, 27 Dec 2009 00:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.myraff.com/?p=133#comment-135</guid>
		<description>// CODE THAT *I* ALWAYS USE

function add_class_to_item ( class_name, item ) {
  var patt = new RegExp( &quot;\\b&quot; + class_name + &quot;\\b&quot; );
  if ( ! item.className.match( patt ) ) {
    item.className += item.className? &quot; &quot;+class_name : class_name;
  }
}
function remove_class_from_item ( class_name, item ) {
  var patt = new RegExp( &quot;\\b&quot; + class_name + &quot;\\b&quot;, &#039;g&#039; );
  item.className = item.className.replace( patt, &quot;&quot; )
    .replace( /(^\s+)&#124;(\s+$)/g, &quot;&quot; )
    .replace( /\s\s+/g, &quot; &quot; );
}</description>
		<content:encoded><![CDATA[<p>// CODE THAT *I* ALWAYS USE</p>
<p>function add_class_to_item ( class_name, item ) {<br />
  var patt = new RegExp( &#8220;\\b&#8221; + class_name + &#8220;\\b&#8221; );<br />
  if ( ! item.className.match( patt ) ) {<br />
    item.className += item.className? &#8221; &#8220;+class_name : class_name;<br />
  }<br />
}<br />
function remove_class_from_item ( class_name, item ) {<br />
  var patt = new RegExp( &#8220;\\b&#8221; + class_name + &#8220;\\b&#8221;, &#8216;g&#8217; );<br />
  item.className = item.className.replace( patt, &#8220;&#8221; )<br />
    .replace( /(^\s+)|(\s+$)/g, &#8220;&#8221; )<br />
    .replace( /\s\s+/g, &#8221; &#8221; );<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: samuel Coskey</title>
		<link>http://www.myraff.com/code/code-i-always-use-part-ii/comment-page-1#comment-87</link>
		<dc:creator>samuel Coskey</dc:creator>
		<pubDate>Sun, 04 Oct 2009 17:24:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.myraff.com/?p=133#comment-87</guid>
		<description>I dare you to say that to my face.</description>
		<content:encoded><![CDATA[<p>I dare you to say that to my face.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ownbig.ru</title>
		<link>http://www.myraff.com/code/code-i-always-use-part-ii/comment-page-1#comment-85</link>
		<dc:creator>ownbig.ru</dc:creator>
		<pubDate>Wed, 30 Sep 2009 12:07:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.myraff.com/?p=133#comment-85</guid>
		<description>karate means empty hand which means to use karate only in self defence.</description>
		<content:encoded><![CDATA[<p>karate means empty hand which means to use karate only in self defence.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

