<?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: $.later: binding jQuery plugin methods</title>
	<atom:link href="http://bililite.nfshost.com/blog/2009/02/06/later-binding-jquery-plugin-methods/feed/" rel="self" type="application/rss+xml" />
	<link>http://bililite.nfshost.com/blog/2009/02/06/later-binding-jquery-plugin-methods/</link>
	<description>Thoughts on web design and programming from a very occasional volunteer webmaster</description>
	<lastBuildDate>Thu, 10 May 2012 10:36:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Danny</title>
		<link>http://bililite.nfshost.com/blog/2009/02/06/later-binding-jquery-plugin-methods/comment-page-1/#comment-484</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Sun, 08 Mar 2009 01:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=353#comment-484</guid>
		<description>@Ramin:
Yeah, &lt;code&gt;later&lt;/code&gt; isn&#039;t great. I was thinking &lt;code&gt;defer&lt;/code&gt; might be better, which I think Prototype uses. Javascript 2 is supposed to have some syntactic sugar to make anonymous functions/code blocks more palatable, but for now we&#039;ve got to stick to real Javascript. I think a symbol would be too confusing.
Danny</description>
		<content:encoded><![CDATA[<p>@Ramin:<br />
Yeah, <code>later</code> isn&#8217;t great. I was thinking <code>defer</code> might be better, which I think Prototype uses. Javascript 2 is supposed to have some syntactic sugar to make anonymous functions/code blocks more palatable, but for now we&#8217;ve got to stick to real Javascript. I think a symbol would be too confusing.<br />
Danny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramin</title>
		<link>http://bililite.nfshost.com/blog/2009/02/06/later-binding-jquery-plugin-methods/comment-page-1/#comment-480</link>
		<dc:creator>Ramin</dc:creator>
		<pubDate>Sat, 07 Mar 2009 18:00:33 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=353#comment-480</guid>
		<description>typing out function() {} every time for an anonymous function is kind of annoying. But I think the word &quot;later&quot; is a bit confusing as well. Maybe use a symbol instead? Like how jQuery uses $ ... maybe another symbol to represent anonymous functions? That would be cool :)</description>
		<content:encoded><![CDATA[<p>typing out function() {} every time for an anonymous function is kind of annoying. But I think the word &#8220;later&#8221; is a bit confusing as well. Maybe use a symbol instead? Like how jQuery uses $ &#8230; maybe another symbol to represent anonymous functions? That would be cool <img src='http://bililite.nfshost.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Mounce</title>
		<link>http://bililite.nfshost.com/blog/2009/02/06/later-binding-jquery-plugin-methods/comment-page-1/#comment-460</link>
		<dc:creator>Peter Mounce</dc:creator>
		<pubDate>Fri, 13 Feb 2009 15:33:45 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=353#comment-460</guid>
		<description>Ah; gotcha.</description>
		<content:encoded><![CDATA[<p>Ah; gotcha.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny</title>
		<link>http://bililite.nfshost.com/blog/2009/02/06/later-binding-jquery-plugin-methods/comment-page-1/#comment-458</link>
		<dc:creator>Danny</dc:creator>
		<pubDate>Fri, 13 Feb 2009 11:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=353#comment-458</guid>
		<description>@Peter Mounce:
This is not solving a major problem. It just encapsulates the anonymous function;
instead of using a callback of
&lt;pre&gt;
function(){
  $(this).toggleClass(&#039;bold&#039;);
}
&lt;/pre&gt;
use
&lt;pre&gt;
$.later().toggleClass(&#039;bold&#039;);
&lt;/pre&gt;
It&#039;s a matter of taste. I haven&#039;t decided myself whether to use this in real life.</description>
		<content:encoded><![CDATA[<p>@Peter Mounce:<br />
This is not solving a major problem. It just encapsulates the anonymous function;<br />
instead of using a callback of</p>
<pre>
function(){
  $(this).toggleClass('bold');
}
</pre>
<p>use</p>
<pre>
$.later().toggleClass('bold');
</pre>
<p>It&#8217;s a matter of taste. I haven&#8217;t decided myself whether to use this in real life.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Mounce</title>
		<link>http://bililite.nfshost.com/blog/2009/02/06/later-binding-jquery-plugin-methods/comment-page-1/#comment-457</link>
		<dc:creator>Peter Mounce</dc:creator>
		<pubDate>Fri, 13 Feb 2009 10:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://bililite.nfshost.com/blog/?p=353#comment-457</guid>
		<description>I don&#039;t get it.  Can you spell out the problem this solves?  It seems like I should be grokking it, but the mental leap (probably a hop...) is escaping me.  

It seems like both ways use an anonymous function...?  I&#039;m clearly missing the point!</description>
		<content:encoded><![CDATA[<p>I don&#8217;t get it.  Can you spell out the problem this solves?  It seems like I should be grokking it, but the mental leap (probably a hop&#8230;) is escaping me.  </p>
<p>It seems like both ways use an anonymous function&#8230;?  I&#8217;m clearly missing the point!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

