<?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: A Better Way to use Elements</title>
	<atom:link href="http://mootools.net/blog/2010/03/19/a-better-way-to-use-elements/feed/" rel="self" type="application/rss+xml" />
	<link>http://mootools.net/blog/2010/03/19/a-better-way-to-use-elements/</link>
	<description>The Blog</description>
	<lastBuildDate>Mon, 20 May 2013 09:32:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: gonchuki</title>
		<link>http://mootools.net/blog/2010/03/19/a-better-way-to-use-elements/comment-page-1/#comment-943</link>
		<dc:creator>gonchuki</dc:creator>
		<pubDate>Mon, 22 Mar 2010 19:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=783#comment-943</guid>
		<description>&lt;p&gt;for consistency and simplicity I usually prefer to use document.id and document.getElements instead of $ and $$. I certainly grew tired of the $ notation over the years.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>for consistency and simplicity I usually prefer to use document.id and document.getElements instead of $ and $$. I certainly grew tired of the $ notation over the years.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 131</title>
		<link>http://mootools.net/blog/2010/03/19/a-better-way-to-use-elements/comment-page-1/#comment-940</link>
		<dc:creator>131</dc:creator>
		<pubDate>Mon, 22 Mar 2010 09:42:28 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=783#comment-940</guid>
		<description>&lt;p&gt;I used to have a syntax using&lt;/p&gt;

&lt;p&gt;var Box = new Class({  Declare : [&#039;Box&#039;] ..., initialize:function(el){this.anchor = el }. .. })&lt;/p&gt;

&lt;p&gt;$.Box = function(box){ return box.anchor; }&lt;/p&gt;

&lt;p&gt;With the following mutator
Class.Mutators.Declare = function(self, typename){
    self.$family = {&#039;name&#039;:typename};
    return self;
};&lt;/p&gt;

&lt;p&gt;and so $(new Box(myelemement)) == myelement&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I used to have a syntax using</p>

<p>var Box = new Class({  Declare&#160;: [&#8216;Box&#8217;] &#8230;, initialize:function(el){this.anchor = el }. .. })</p>

<p>$.Box = function(box){ return box.anchor; }</p>

<p>With the following mutator
Class.Mutators.Declare = function(self, typename){
    self.$family = {&#8216;name&#8217;:typename};
    return self;
};</p>

<p>and so $(new Box(myelemement)) == myelement</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jakub Pawlowicz</title>
		<link>http://mootools.net/blog/2010/03/19/a-better-way-to-use-elements/comment-page-1/#comment-934</link>
		<dc:creator>Jakub Pawlowicz</dc:creator>
		<pubDate>Sat, 20 Mar 2010 21:08:08 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=783#comment-934</guid>
		<description>&lt;p&gt;Wow, I wasn&#039;t aware of toElement method either! Looking forward to the next article, Sean! Excellent work.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Wow, I wasn&#8217;t aware of toElement method either! Looking forward to the next article, Sean! Excellent work.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Bart Garbiak</title>
		<link>http://mootools.net/blog/2010/03/19/a-better-way-to-use-elements/comment-page-1/#comment-932</link>
		<dc:creator>Bart Garbiak</dc:creator>
		<pubDate>Sat, 20 Mar 2010 10:19:34 +0000</pubDate>
		<guid isPermaLink="false">http://mootools.net/blog/?p=783#comment-932</guid>
		<description>&lt;p&gt;I have to say that even though I consider myself quite experienced Mootools user I didn&#039;t know about that toElement feature. It&#039;s great. Although now I feel I have to rewrite a lot of my latest work ;)&lt;/p&gt;

&lt;p&gt;Thanks for an article anyway, it&#039;s excellent.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have to say that even though I consider myself quite experienced Mootools user I didn&#8217;t know about that toElement feature. It&#8217;s great. Although now I feel I have to rewrite a lot of my latest work ;)</p>

<p>Thanks for an article anyway, it&#8217;s excellent.</p>]]></content:encoded>
	</item>
</channel>
</rss>
