<?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: Setting up timers and intervals inside JS objects</title>
	<atom:link href="http://dev.enekoalonso.com/2009/04/07/setting-up-timers-and-intervals-inside-js-objects/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.enekoalonso.com/2009/04/07/setting-up-timers-and-intervals-inside-js-objects/</link>
	<description>having fun with code</description>
	<lastBuildDate>Thu, 15 Sep 2011 22:21:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Eneko Alonso</title>
		<link>http://dev.enekoalonso.com/2009/04/07/setting-up-timers-and-intervals-inside-js-objects/comment-page-1/#comment-19296</link>
		<dc:creator>Eneko Alonso</dc:creator>
		<pubDate>Thu, 09 Apr 2009 23:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=301#comment-19296</guid>
		<description>Hi 3n,

call() is part of the &lt;a href=&quot;https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function/call&quot; rel=&quot;nofollow&quot;&gt;core function object&lt;/a&gt;, and it is the function Mootools and jQuery frameworks use (together with apply) to set the this pointer inside object instances, events, etc.

But yeah, if bind works you could use that too. I haven&#039;t tested it so I don&#039;t know if it would work or not.

Thanks :)</description>
		<content:encoded><![CDATA[<p>Hi 3n,</p>
<p>call() is part of the <a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Function/call" rel="nofollow">core function object</a>, and it is the function Mootools and jQuery frameworks use (together with apply) to set the this pointer inside object instances, events, etc.</p>
<p>But yeah, if bind works you could use that too. I haven&#8217;t tested it so I don&#8217;t know if it would work or not.</p>
<p>Thanks :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 3n</title>
		<link>http://dev.enekoalonso.com/2009/04/07/setting-up-timers-and-intervals-inside-js-objects/comment-page-1/#comment-19286</link>
		<dc:creator>3n</dc:creator>
		<pubDate>Thu, 09 Apr 2009 21:55:04 +0000</pubDate>
		<guid isPermaLink="false">http://dev.enekoalonso.com/?p=301#comment-19286</guid>
		<description>Why not just use: &quot;setTimeout(this.hello.bind(this), 1000);&quot; (Mootools)</description>
		<content:encoded><![CDATA[<p>Why not just use: &#8220;setTimeout(this.hello.bind(this), 1000);&#8221; (Mootools)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

