<?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: Wrapping loose variables and functions in Add-ons</title>
	<atom:link href="http://xulforge.com/blog/2009/08/wrapping-loose-variables-and-functions-in-add-ons/feed/" rel="self" type="application/rss+xml" />
	<link>http://xulforge.com/blog/2009/08/wrapping-loose-variables-and-functions-in-add-ons/</link>
	<description>Xulforge projects, code, and more</description>
	<lastBuildDate>Tue, 01 May 2012 23:35:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: jorge</title>
		<link>http://xulforge.com/blog/2009/08/wrapping-loose-variables-and-functions-in-add-ons/comment-page-1/#comment-61</link>
		<dc:creator>jorge</dc:creator>
		<pubDate>Sun, 24 Jan 2010 20:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://xulforge.com/blog/?p=17#comment-61</guid>
		<description>There&#039;s no bullet-proof way of preventing name collisions.
The simplest and most effective way of namespacing Javascipt in add-ons is to choose a name that is relatively unique. So, if your add-on is named &quot;Text Formatting Toolbar&quot;, then &quot;TFToolbar&quot; or &quot;TextFormattingTB&quot; should be good enough.</description>
		<content:encoded><![CDATA[<p>There&#8217;s no bullet-proof way of preventing name collisions.<br />
The simplest and most effective way of namespacing Javascipt in add-ons is to choose a name that is relatively unique. So, if your add-on is named &#8220;Text Formatting Toolbar&#8221;, then &#8220;TFToolbar&#8221; or &#8220;TextFormattingTB&#8221; should be good enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel Hecht</title>
		<link>http://xulforge.com/blog/2009/08/wrapping-loose-variables-and-functions-in-add-ons/comment-page-1/#comment-56</link>
		<dc:creator>Axel Hecht</dc:creator>
		<pubDate>Sun, 24 Jan 2010 17:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://xulforge.com/blog/?p=17#comment-56</guid>
		<description>What&#039;s the right way? Use a &#039;var&#039; in front of the variables in the anonymous function?</description>
		<content:encoded><![CDATA[<p>What&#8217;s the right way? Use a &#8216;var&#8217; in front of the variables in the anonymous function?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
