<?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: Another trick to allow Array subclasses</title>
	<atom:link href="http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Panya</title>
		<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/comment-page-1#comment-255177</link>
		<dc:creator>Panya</dc:creator>
		<pubDate>Fri, 07 Sep 2007 16:18:14 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1849#comment-255177</guid>
		<description>This hack has been used in Dojo 0.9 but it eats up a lot of ressources when the javascript is loading.  Memory usage increases with each refresh and never reaches a steady state.</description>
		<content:encoded><![CDATA[<p>This hack has been used in Dojo 0.9 but it eats up a lot of ressources when the javascript is loading.  Memory usage increases with each refresh and never reaches a steady state.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario</title>
		<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/comment-page-1#comment-220077</link>
		<dc:creator>Mario</dc:creator>
		<pubDate>Thu, 30 Nov 2006 15:43:57 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1849#comment-220077</guid>
		<description>you can also use new ActiveXObject(â€htmlfileâ€); in IE instead of an iframe (I know the popup method has been discuss for IE too). A link discussing the ActiveXObject(â€htmlfileâ€) can be found here: http://alex.dojotoolkit.org/?p=538</description>
		<content:encoded><![CDATA[<p>you can also use new ActiveXObject(â€htmlfileâ€); in IE instead of an iframe (I know the popup method has been discuss for IE too). A link discussing the ActiveXObject(â€htmlfileâ€) can be found here: <a href="http://alex.dojotoolkit.org/?p=538" rel="nofollow">http://alex.dojotoolkit.org/?p=538</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dean Edwards</title>
		<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/comment-page-1#comment-209656</link>
		<dc:creator>Dean Edwards</dc:creator>
		<pubDate>Sat, 25 Nov 2006 16:32:14 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1849#comment-209656</guid>
		<description>@Dan - &quot;because you can doesnâ€™t mean you should&quot;. Whatever. But if you want to then this how to do it.

I think you&#039;ve missed the point slightly as this article is about how &lt;em&gt;not&lt;/em&gt; to mangle prototypes. Everybody wins. :-)</description>
		<content:encoded><![CDATA[<p>@Dan &#8211; &#8220;because you can doesnâ€™t mean you should&#8221;. Whatever. But if you want to then this how to do it.</p>
<p>I think you&#8217;ve missed the point slightly as this article is about how <em>not</em> to mangle prototypes. Everybody wins. :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: best</title>
		<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/comment-page-1#comment-208093</link>
		<dc:creator>best</dc:creator>
		<pubDate>Fri, 24 Nov 2006 20:56:00 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1849#comment-208093</guid>
		<description>See also : http://ajaxcode.blogspot.com</description>
		<content:encoded><![CDATA[<p>See also : <a href="http://ajaxcode.blogspot.com" rel="nofollow">http://ajaxcode.blogspot.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/comment-page-1#comment-208043</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Fri, 24 Nov 2006 20:14:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1849#comment-208043</guid>
		<description>The fact that prototype mangles the built-in types doesn&#039;t mean one should. Providing multiple examples of bad practices doesn&#039;t magically make them good practices. If I can find enough people that drink-and-drive we&#039;ll try to get the laws changed, because now it&#039;s okay - there&#039;s a bunch of us doing it. As for the point of the article, subclassing an array via a hack involving a new window is not creating your own class. Create a vector class. Efficiency obviously is not a concern at the point you would use the above code. It&#039;s sad if you don&#039;t see the difference between the two approaches. The actual point of the article is &quot;just because you can doesn&#039;t mean you should&quot;.</description>
		<content:encoded><![CDATA[<p>The fact that prototype mangles the built-in types doesn&#8217;t mean one should. Providing multiple examples of bad practices doesn&#8217;t magically make them good practices. If I can find enough people that drink-and-drive we&#8217;ll try to get the laws changed, because now it&#8217;s okay &#8211; there&#8217;s a bunch of us doing it. As for the point of the article, subclassing an array via a hack involving a new window is not creating your own class. Create a vector class. Efficiency obviously is not a concern at the point you would use the above code. It&#8217;s sad if you don&#8217;t see the difference between the two approaches. The actual point of the article is &#8220;just because you can doesn&#8217;t mean you should&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dean Edwards</title>
		<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/comment-page-1#comment-207680</link>
		<dc:creator>Dean Edwards</dc:creator>
		<pubDate>Fri, 24 Nov 2006 18:35:49 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1849#comment-207680</guid>
		<description>@Dan - the Prototype library is used by thousands of sites. It extends the Array object so I would hardly say this is not important. Subclassing the JavaScript is very difficult because IE does not maintain the length property.

&lt;blockquote&gt;Create your own damn class if you need to break array that much.&lt;/blockquote&gt;

That is pretty much the point of the article.</description>
		<content:encoded><![CDATA[<p>@Dan &#8211; the Prototype library is used by thousands of sites. It extends the Array object so I would hardly say this is not important. Subclassing the JavaScript is very difficult because IE does not maintain the length property.</p>
<blockquote><p>Create your own damn class if you need to break array that much.</p></blockquote>
<p>That is pretty much the point of the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lhlkhjkl</title>
		<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/comment-page-1#comment-207617</link>
		<dc:creator>lhlkhjkl</dc:creator>
		<pubDate>Fri, 24 Nov 2006 17:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1849#comment-207617</guid>
		<description>&lt;strong&gt;test&lt;/strong&gt;

sdt sdfhg sdfh sdfh sdfhsd</description>
		<content:encoded><![CDATA[<p><strong>test</strong></p>
<p>sdt sdfhg sdfh sdfh sdfhsd</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: æƒ…å ±å•†æã®å–«èŒ¶åº—</title>
		<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/comment-page-1#comment-207531</link>
		<dc:creator>æƒ…å ±å•†æã®å–«èŒ¶åº—</dc:creator>
		<pubDate>Fri, 24 Nov 2006 17:08:41 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1849#comment-207531</guid>
		<description>&lt;strong&gt;ä¸€ãƒ¶æœˆã§18äººã®å¥³æ€§ã‚’ã‚¤ã‚«ã›ãŸã€ç©¶æ¥µã®ã‚ªãƒ¼ã‚¬ã‚ºãƒ ãƒ†ã‚¯ãƒ‹ãƒƒã‚¯ã€‘ç¾å½¹é¢¨ä¿—å¬¢3äººãŒæš´éœ²ï¼ï¼ &lt;/strong&gt;

ä»Šã¾ã§ä¸€äººã‚‚ã‚¤ã‚«ã›ãŸã“ã¨ã®ãªã‹ã£ãŸç”·æ€§ãŒã€ä¸€ãƒ¶æœˆã§18äººã®å¥³æ€§ã‚’ã‚¤ã‚«ã›ã‚‹ã“ã¨ãŒå‡ºæ¥ãŸç©¶æ¥µã®ã‚ªãƒ¼ã‚¬ã‚ºãƒ ãƒ†ã‚¯ãƒ‹ãƒƒã‚¯ã¨ã¯ï¼Ÿå…¨ã¦ã®å¥³æ€§ãŒæº€è¶³ã™ã‚‹ã ã‘ã˜ã‚ƒãªãã€ã‚„ã¿ã¤ãã«ãªã£ã¦ã—ã¾ã...</description>
		<content:encoded><![CDATA[<p><strong>ä¸€ãƒ¶æœˆã§18äººã®å¥³æ€§ã‚’ã‚¤ã‚«ã›ãŸã€ç©¶æ¥µã®ã‚ªãƒ¼ã‚¬ã‚ºãƒ ãƒ†ã‚¯ãƒ‹ãƒƒã‚¯ã€‘ç¾å½¹é¢¨ä¿—å¬¢3äººãŒæš´éœ²ï¼ï¼ </strong></p>
<p>ä»Šã¾ã§ä¸€äººã‚‚ã‚¤ã‚«ã›ãŸã“ã¨ã®ãªã‹ã£ãŸç”·æ€§ãŒã€ä¸€ãƒ¶æœˆã§18äººã®å¥³æ€§ã‚’ã‚¤ã‚«ã›ã‚‹ã“ã¨ãŒå‡ºæ¥ãŸç©¶æ¥µã®ã‚ªãƒ¼ã‚¬ã‚ºãƒ ãƒ†ã‚¯ãƒ‹ãƒƒã‚¯ã¨ã¯ï¼Ÿå…¨ã¦ã®å¥³æ€§ãŒæº€è¶³ã™ã‚‹ã ã‘ã˜ã‚ƒãªãã€ã‚„ã¿ã¤ãã«ãªã£ã¦ã—ã¾ã&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Heilmann</title>
		<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/comment-page-1#comment-207511</link>
		<dc:creator>Chris Heilmann</dc:creator>
		<pubDate>Fri, 24 Nov 2006 16:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1849#comment-207511</guid>
		<description>&lt;blockquote&gt;
Hedger Wang has a new hack that uses window.createPopup instead of an iframe to for IE to fix some issues.
&lt;/blockquote&gt;

summoning the aforementioned spelling cow...</description>
		<content:encoded><![CDATA[<blockquote><p>
Hedger Wang has a new hack that uses window.createPopup instead of an iframe to for IE to fix some issues.
</p></blockquote>
<p>summoning the aforementioned spelling cow&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://ajaxian.com/archives/another-trick-to-allow-array-subclasses/comment-page-1#comment-207477</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Fri, 24 Nov 2006 16:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1849#comment-207477</guid>
		<description>Create a pop-up to override the behaviour of array? We could just not override array. There is no instance where overriding array is that import or would ever be worth this hack. Create your own damn class if you need to break array that much.</description>
		<content:encoded><![CDATA[<p>Create a pop-up to override the behaviour of array? We could just not override array. There is no instance where overriding array is that import or would ever be worth this hack. Create your own damn class if you need to break array that much.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

