<?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/07/18/scope-in-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/</link>
	<description>web 标准，前端开发，编程感悟，生活杂想</description>
	<pubDate>Thu, 20 Nov 2008 22:39:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: cworld: Ajax</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-90394</link>
		<dc:creator>cworld: Ajax</dc:creator>
		<pubDate>Mon, 01 Sep 2008 06:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-90394</guid>
		<description>[...] Scope in Javascript 中文 [...]</description>
		<content:encoded><![CDATA[<p>[...] Scope in Javascript 中文 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 麦鸡的博客 &#187; JavaScript中的作用域与闭包</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-89057</link>
		<dc:creator>麦鸡的博客 &#187; JavaScript中的作用域与闭包</dc:creator>
		<pubDate>Thu, 28 Aug 2008 15:18:24 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-89057</guid>
		<description>[...] Realazy翻译的一篇关于作用域的文章 [...]</description>
		<content:encoded><![CDATA[<p>[...] Realazy翻译的一篇关于作用域的文章 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: withinsea</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-46963</link>
		<dc:creator>withinsea</dc:creator>
		<pubDate>Thu, 06 Mar 2008 01:22:41 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-46963</guid>
		<description>bind 雖然不錯，prototype 的實現卻實在是不怎麽好看……
爲了這麽一個簡單的功能就污染掉 Function 原型，太不值得了
靜態函數足以解決問題</description>
		<content:encoded><![CDATA[<p>bind 雖然不錯，prototype 的實現卻實在是不怎麽好看……<br />
爲了這麽一個簡單的功能就污染掉 Function 原型，太不值得了<br />
靜態函數足以解決問題</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Huanita</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-43567</link>
		<dc:creator>Huanita</dc:creator>
		<pubDate>Fri, 01 Feb 2008 22:31:25 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-43567</guid>
		<description>Noi stesso &lt;a href='http://www.descarga-msn-gratis.trenibuti.info' rel="nofollow"&gt;descarga societ</description>
		<content:encoded><![CDATA[<p>Noi stesso <a href='http://www.descarga-msn-gratis.trenibuti.info' rel="nofollow">descarga societ</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gracecode.com</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-43331</link>
		<dc:creator>Gracecode.com</dc:creator>
		<pubDate>Wed, 30 Jan 2008 06:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-43331</guid>
		<description>&lt;strong&gt;Javascript 优化计划（程序优化篇）...&lt;/strong&gt;

继续我们的 Javascript 优化计划，上期已经做到怎么尽可能的缩小 Javascript 脚本的文件体积便于传输。不过这样做仅仅是不够的，因为 Javascript 代码的速度被分割成两部分：下载时间（取决于文...</description>
		<content:encoded><![CDATA[<p><strong>Javascript 优化计划（程序优化篇）&#8230;</strong></p>
<p>继续我们的 Javascript 优化计划，上期已经做到怎么尽可能的缩小 Javascript 脚本的文件体积便于传输。不过这样做仅仅是不够的，因为 Javascript 代码的速度被分割成两部分：下载时间（取决于文&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: udvlin</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-38658</link>
		<dc:creator>udvlin</dc:creator>
		<pubDate>Fri, 07 Dec 2007 09:03:20 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-38658</guid>
		<description>很经典的文章!!!受益匪浅啊!!
学习了!</description>
		<content:encoded><![CDATA[<p>很经典的文章!!!受益匪浅啊!!<br />
学习了!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ning</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-35756</link>
		<dc:creator>ning</dc:creator>
		<pubDate>Wed, 07 Nov 2007 08:35:10 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-35756</guid>
		<description>高兴发现了博主的博客，但是发现的太晚了了。
我收藏了。多谢google reader，可以订阅。</description>
		<content:encoded><![CDATA[<p>高兴发现了博主的博客，但是发现的太晚了了。<br />
我收藏了。多谢google reader，可以订阅。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madwww</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-30901</link>
		<dc:creator>madwww</dc:creator>
		<pubDate>Wed, 05 Sep 2007 12:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-30901</guid>
		<description>文章很不错，不算特别深，但也要有些基础才好。我看后，感觉很不错。翻译的真的很棒！
收藏了:)</description>
		<content:encoded><![CDATA[<p>文章很不错，不算特别深，但也要有些基础才好。我看后，感觉很不错。翻译的真的很棒！<br />
收藏了:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jindw</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-29779</link>
		<dc:creator>jindw</dc:creator>
		<pubDate>Mon, 20 Aug 2007 13:46:16 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-29779</guid>
		<description>这片文章讲的确实不够简洁。
简单的说，JS的this与普通高级语言的区别就是，JS的this水性扬花。
this没有类的归属，放在那里调用，this就是那个。</description>
		<content:encoded><![CDATA[<p>这片文章讲的确实不够简洁。<br />
简单的说，JS的this与普通高级语言的区别就是，JS的this水性扬花。<br />
this没有类的归属，放在那里调用，this就是那个。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: t</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-29760</link>
		<dc:creator>t</dc:creator>
		<pubDate>Mon, 20 Aug 2007 07:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-29760</guid>
		<description>谢谢你，看完之后我更糊涂了。</description>
		<content:encoded><![CDATA[<p>谢谢你，看完之后我更糊涂了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 哉崽</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-28235</link>
		<dc:creator>哉崽</dc:creator>
		<pubDate>Thu, 02 Aug 2007 02:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-28235</guid>
		<description>文章内容不错，不过感觉老外的举例似乎不够简洁，有把简单问题说复杂之嫌。对于JS新手，我想是不容易理解的，即便对this比较了解的虾级人物，光看代码还比较容易理解，但看了文字可能就迷糊了。个人观点，呵呵。

对于this的绑定，我认为是灵活的，其实bind也是给包了一匿名函数，这个在批量应用中非常好，但是在只有一两个地方需要切换this的引用时，直接包一个匿名函数更加简洁。甚至很多实际应用中，往往直接搞一个 var _this = this,直接把this传传进去更明了。

另外，我想这里推荐一关于 this 的另外一篇好文， 《The this keyword》http://www.quirksmode.org/js/this.html 
对于JS新手还是有很大帮助的。偶e文水平实在不好，怕翻译过来祸国殃民，如果楼主有心可以翻译一下。

为了解决select盖住其他对象的棘手问题，前两天写了个JS的仿select，在处理事件时碰到了障碍，是看了楼主的《事件冒泡》一文才得以解决的，在此表示感谢:)</description>
		<content:encoded><![CDATA[<p>文章内容不错，不过感觉老外的举例似乎不够简洁，有把简单问题说复杂之嫌。对于JS新手，我想是不容易理解的，即便对this比较了解的虾级人物，光看代码还比较容易理解，但看了文字可能就迷糊了。个人观点，呵呵。</p>
<p>对于this的绑定，我认为是灵活的，其实bind也是给包了一匿名函数，这个在批量应用中非常好，但是在只有一两个地方需要切换this的引用时，直接包一个匿名函数更加简洁。甚至很多实际应用中，往往直接搞一个 var _this = this,直接把this传传进去更明了。</p>
<p>另外，我想这里推荐一关于 this 的另外一篇好文， 《The this keyword》http://www.quirksmode.org/js/this.html<br />
对于JS新手还是有很大帮助的。偶e文水平实在不好，怕翻译过来祸国殃民，如果楼主有心可以翻译一下。</p>
<p>为了解决select盖住其他对象的棘手问题，前两天写了个JS的仿select，在处理事件时碰到了障碍，是看了楼主的《事件冒泡》一文才得以解决的，在此表示感谢:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-28005</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Tue, 31 Jul 2007 09:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-28005</guid>
		<description>你的空间挺好的，是那家什么型号的呢？
谢谢</description>
		<content:encoded><![CDATA[<p>你的空间挺好的，是那家什么型号的呢？<br />
谢谢</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fdcn</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-27696</link>
		<dc:creator>fdcn</dc:creator>
		<pubDate>Sat, 28 Jul 2007 09:41:48 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-27696</guid>
		<description>是我想混了，bind方法所在的对象当然是函数（调用bind方法的）这个对象。不好意思……</description>
		<content:encoded><![CDATA[<p>是我想混了，bind方法所在的对象当然是函数（调用bind方法的）这个对象。不好意思……</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: fdcn</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-27695</link>
		<dc:creator>fdcn</dc:creator>
		<pubDate>Sat, 28 Jul 2007 09:36:52 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-27695</guid>
		<description>bind定义中的
var method = this
让我较痛苦，我以为自己对this很了解了，这篇文章阐述的东西也自认都知道，但这个method =this等于调用函数让我一下子弄混了，为什么是调用函数（或方法）本身？而不是全局对象或其它的呼叫方法（函数）所在的对象？</description>
		<content:encoded><![CDATA[<p>bind定义中的<br />
var method = this<br />
让我较痛苦，我以为自己对this很了解了，这篇文章阐述的东西也自认都知道，但这个method =this等于调用函数让我一下子弄混了，为什么是调用函数（或方法）本身？而不是全局对象或其它的呼叫方法（函数）所在的对象？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin</title>
		<link>http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-27675</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Sat, 28 Jul 2007 02:47:57 +0000</pubDate>
		<guid isPermaLink="false">http://realazy.org/blog/2007/07/18/scope-in-javascript/#comment-27675</guid>
		<description>大哥有个细节上的文字错误.. 第一段源代码里并没有 (img_) 而是(ima_) . 被手快的人已经转到BI上去了. 大哥的文章真是不错呀. :)</description>
		<content:encoded><![CDATA[<p>大哥有个细节上的文字错误.. 第一段源代码里并没有 (img_) 而是(ima_) . 被手快的人已经转到BI上去了. 大哥的文章真是不错呀. <img src='http://realazy.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
</channel>
</rss>
