<?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: JavaScript风格要素</title>
	<atom:link href="http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/feed/" rel="self" type="application/rss+xml" />
	<link>http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/</link>
	<description>web 标准，前端开发，编程感悟，生活杂想</description>
	<pubDate>Tue, 07 Oct 2008 14:09:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: feelinglucky</title>
		<link>http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-32874</link>
		<dc:creator>feelinglucky</dc:creator>
		<pubDate>Sat, 29 Sep 2007 05:29:17 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-32874</guid>
		<description>Dojo 风格指南已经翻译成中文： http://code.google.com/p/grace/wiki/DojoStyle</description>
		<content:encoded><![CDATA[<p>Dojo 风格指南已经翻译成中文： <a href="http://code.google.com/p/grace/wiki/DojoStyle" rel="nofollow">http://code.google.com/p/grace/wiki/DojoStyle</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wondger</title>
		<link>http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-32639</link>
		<dc:creator>wondger</dc:creator>
		<pubDate>Wed, 26 Sep 2007 09:32:33 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-32639</guid>
		<description>哎，看来对于“微软雅黑”IE7似乎也还是拼不过FF～···无语～····</description>
		<content:encoded><![CDATA[<p>哎，看来对于“微软雅黑”IE7似乎也还是拼不过FF～···无语～····</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: superwunc</title>
		<link>http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-32609</link>
		<dc:creator>superwunc</dc:creator>
		<pubDate>Wed, 26 Sep 2007 00:38:22 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-32609</guid>
		<description>引用的"第一部分"和"第二部分"指向的是同一个地址</description>
		<content:encoded><![CDATA[<p>引用的&#8221;第一部分&#8221;和&#8221;第二部分&#8221;指向的是同一个地址</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hax</title>
		<link>http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-32166</link>
		<dc:creator>hax</dc:creator>
		<pubDate>Thu, 20 Sep 2007 19:39:02 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-32166</guid>
		<description>这是比较老的文章了。现在其中某些发生了变化。

例如type方面，已经标准化为application/ecmascript或application/javascript。不宜用text/javascript，因为text表示的是供人阅读的文本。但是老版本的ff可能只支持标准化之前的type，如application/x-javascript。

此外html5规范会允许不加上type，默认为js，这也是符合当前浏览器的实践的。

后面有些风格也并不是强制的。

再如 &#124;&#124; 来赋默认值也存在一定的小问题，因为存在false、0、''这样的情况。</description>
		<content:encoded><![CDATA[<p>这是比较老的文章了。现在其中某些发生了变化。</p>
<p>例如type方面，已经标准化为application/ecmascript或application/javascript。不宜用text/javascript，因为text表示的是供人阅读的文本。但是老版本的ff可能只支持标准化之前的type，如application/x-javascript。</p>
<p>此外html5规范会允许不加上type，默认为js，这也是符合当前浏览器的实践的。</p>
<p>后面有些风格也并不是强制的。</p>
<p>再如 || 来赋默认值也存在一定的小问题，因为存在false、0、&#8221;这样的情况。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 星辉一冷</title>
		<link>http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-31986</link>
		<dc:creator>星辉一冷</dc:creator>
		<pubDate>Tue, 18 Sep 2007 09:29:19 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-31986</guid>
		<description>不错.
我最近也在写一篇类似文章, 不过是关于自己CODING STYLE的总结.</description>
		<content:encoded><![CDATA[<p>不错.<br />
我最近也在写一篇类似文章, 不过是关于自己CODING STYLE的总结.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wondger</title>
		<link>http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-31915</link>
		<dc:creator>wondger</dc:creator>
		<pubDate>Mon, 17 Sep 2007 13:26:44 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-31915</guid>
		<description>记下～···</description>
		<content:encoded><![CDATA[<p>记下～···</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cute</title>
		<link>http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-31875</link>
		<dc:creator>cute</dc:creator>
		<pubDate>Mon, 17 Sep 2007 02:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-31875</guid>
		<description>很受用</description>
		<content:encoded><![CDATA[<p>很受用</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 沈蚊</title>
		<link>http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-31868</link>
		<dc:creator>沈蚊</dc:creator>
		<pubDate>Mon, 17 Sep 2007 00:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/09/17/the-elements-of-javascript-style/#comment-31868</guid>
		<description>还是不太明白js啦~~

不过CSS也好像有类似的东东。。。</description>
		<content:encoded><![CDATA[<p>还是不太明白js啦~~</p>
<p>不过CSS也好像有类似的东东。。。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
