<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: The Final Countdown: Screencast Four</title>
	<atom:link href="http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/feed/" rel="self" type="application/rss+xml" />
	<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/</link>
	<description>a heaping helping of JavaScript casserole</description>
	<lastBuildDate>Mon, 09 Jan 2012 20:58:19 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Allan Ebdrup</title>
		<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/#comment-37</link>
		<dc:creator><![CDATA[Allan Ebdrup]]></dc:creator>
		<pubDate>Wed, 03 Feb 2010 07:28:14 +0000</pubDate>
		<guid isPermaLink="false">http://allyoucanleet.com/?p=66#comment-37</guid>
		<description><![CDATA[Here my &quot;This is a great thing you can do with boxed types&quot; video http://screenr.com/O4d]]></description>
		<content:encoded><![CDATA[<p>Here my &#8220;This is a great thing you can do with boxed types&#8221; video <a href="http://screenr.com/O4d" rel="nofollow">http://screenr.com/O4d</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/#comment-36</link>
		<dc:creator><![CDATA[jdalton]]></dc:creator>
		<pubDate>Mon, 01 Feb 2010 20:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://allyoucanleet.com/?p=66#comment-36</guid>
		<description><![CDATA[Yes Fuseboxed natives work on the iPhone and should work fine on the iPad.]]></description>
		<content:encoded><![CDATA[<p>Yes Fuseboxed natives work on the iPhone and should work fine on the iPad.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan Ebdrup</title>
		<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/#comment-35</link>
		<dc:creator><![CDATA[Allan Ebdrup]]></dc:creator>
		<pubDate>Sun, 31 Jan 2010 21:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://allyoucanleet.com/?p=66#comment-35</guid>
		<description><![CDATA[Do your boxed types work on iPad? mine do ;-)]]></description>
		<content:encoded><![CDATA[<p>Do your boxed types work on iPad? mine do <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan Ebdrup</title>
		<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/#comment-34</link>
		<dc:creator><![CDATA[Allan Ebdrup]]></dc:creator>
		<pubDate>Wed, 27 Jan 2010 09:56:58 +0000</pubDate>
		<guid isPermaLink="false">http://allyoucanleet.com/?p=66#comment-34</guid>
		<description><![CDATA[To bad it&#039;s converted into a primitive, then I can&#039;t use it. And I really need crossbrowser addition of the observer pattern on all changes to my boxed types. Guess I&#039;ll stick with my solution for now. But still. Interesting stuff.]]></description>
		<content:encoded><![CDATA[<p>To bad it&#8217;s converted into a primitive, then I can&#8217;t use it. And I really need crossbrowser addition of the observer pattern on all changes to my boxed types. Guess I&#8217;ll stick with my solution for now. But still. Interesting stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan Ebdrup</title>
		<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/#comment-33</link>
		<dc:creator><![CDATA[Allan Ebdrup]]></dc:creator>
		<pubDate>Tue, 26 Jan 2010 18:54:29 +0000</pubDate>
		<guid isPermaLink="false">http://allyoucanleet.com/?p=66#comment-33</guid>
		<description><![CDATA[Really looking forward to it :-)]]></description>
		<content:encoded><![CDATA[<p>Really looking forward to it <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/#comment-32</link>
		<dc:creator><![CDATA[jdalton]]></dc:creator>
		<pubDate>Tue, 26 Jan 2010 15:26:50 +0000</pubDate>
		<guid isPermaLink="false">http://allyoucanleet.com/?p=66#comment-32</guid>
		<description><![CDATA[Yes, &lt;code&gt;myFuseBoxArray[0]++&lt;/code&gt; will work but it will convert the Fuseboxed number to a primitive.
Just like &lt;code&gt;var n = new Number(0); n++; typeof n === &quot;number&quot;;&lt;/code&gt;.

As for the events, I don&#039;t think there is a cross-browser way to do it, but you can check out &lt;a href=&quot;https://developer.mozilla.org/en/core_javascript_1.5_guide:creating_new_objects:defining_getters_and_setters&quot; rel=&quot;nofollow&quot;&gt;MDC docs&lt;/a&gt;]]></description>
		<content:encoded><![CDATA[<p>Yes, <code>myFuseBoxArray[0]++</code> will work but it will convert the Fuseboxed number to a primitive.<br />
Just like <code>var n = new Number(0); n++; typeof n === "number";</code>.</p>
<p>As for the events, I don&#8217;t think there is a cross-browser way to do it, but you can check out <a href="https://developer.mozilla.org/en/core_javascript_1.5_guide:creating_new_objects:defining_getters_and_setters" rel="nofollow">MDC docs</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan Ebdrup</title>
		<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/#comment-31</link>
		<dc:creator><![CDATA[Allan Ebdrup]]></dc:creator>
		<pubDate>Mon, 25 Jan 2010 18:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://allyoucanleet.com/?p=66#comment-31</guid>
		<description><![CDATA[By the way, you can read about some of the stuff I&#039;ve done in my JavaScript framework here:
http://obsurvey.com/UIA.aspx]]></description>
		<content:encoded><![CDATA[<p>By the way, you can read about some of the stuff I&#8217;ve done in my JavaScript framework here:<br />
<a href="http://obsurvey.com/UIA.aspx" rel="nofollow">http://obsurvey.com/UIA.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan Ebdrup</title>
		<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/#comment-30</link>
		<dc:creator><![CDATA[Allan Ebdrup]]></dc:creator>
		<pubDate>Mon, 25 Jan 2010 18:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://allyoucanleet.com/?p=66#comment-30</guid>
		<description><![CDATA[&quot;
Yes,
myFuseboxArray[0] = &quot;test&quot;;
works.

I’m sure you could fire an event with proper getter/setter modifications but it wouldn’t be cross-browser.
&quot;

Ok, I&#039;ll keep the questions coming :-)

so if myFuseBoxArray[0] contains a fusebox number I could do

myFuseBoxArray[0]++

And have an event fire in the fusebox number?]]></description>
		<content:encoded><![CDATA[<p>&#8221;<br />
Yes,<br />
myFuseboxArray[0] = &#8220;test&#8221;;<br />
works.</p>
<p>I’m sure you could fire an event with proper getter/setter modifications but it wouldn’t be cross-browser.<br />
&#8221;</p>
<p>Ok, I&#8217;ll keep the questions coming <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>so if myFuseBoxArray[0] contains a fusebox number I could do</p>
<p>myFuseBoxArray[0]++</p>
<p>And have an event fire in the fusebox number?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jdalton</title>
		<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/#comment-29</link>
		<dc:creator><![CDATA[jdalton]]></dc:creator>
		<pubDate>Mon, 25 Jan 2010 16:07:55 +0000</pubDate>
		<guid isPermaLink="false">http://allyoucanleet.com/?p=66#comment-29</guid>
		<description><![CDATA[Having the correct &lt;code&gt;[[Class]]&lt;/code&gt; is important because it allows for popular type detection using &lt;code&gt;{}.toString.call(value)&lt;/code&gt;.
You can detect the difference between Fuseboxed natives and document natives by looking at their &lt;code&gt;constructor&lt;/code&gt; property.

Yes, 
&lt;code&gt;myFuseboxArray[0] = &quot;test&quot;;&lt;/code&gt;
works.

I&#039;m sure you could fire an event with proper getter/setter modifications but it wouldn&#039;t be cross-browser.

I appreciate your questions. Keep them coming :D]]></description>
		<content:encoded><![CDATA[<p>Having the correct <code>[[Class]]</code> is important because it allows for popular type detection using <code>{}.toString.call(value)</code>.<br />
You can detect the difference between Fuseboxed natives and document natives by looking at their <code>constructor</code> property.</p>
<p>Yes,<br />
<code>myFuseboxArray[0] = "test";</code><br />
works.</p>
<p>I&#8217;m sure you could fire an event with proper getter/setter modifications but it wouldn&#8217;t be cross-browser.</p>
<p>I appreciate your questions. Keep them coming <img src='http://s0.wp.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan Ebdrup</title>
		<link>http://allyoucanleet.com/2010/01/21/sandboxed-natives-four/#comment-28</link>
		<dc:creator><![CDATA[Allan Ebdrup]]></dc:creator>
		<pubDate>Mon, 25 Jan 2010 15:15:14 +0000</pubDate>
		<guid isPermaLink="false">http://allyoucanleet.com/?p=66#comment-28</guid>
		<description><![CDATA[&quot;The arrays, numbers, strings, and other sandboxed natives are real natives and can be treated like their non-sandboxed counterparts. For example they have the same internal [[Class]] property as natives and things like the array.length property work correctly.&quot;
Sorry for playing the devils advocate again, but:
Actually in my code it&#039;s important that I can distinguish my boxed types from the native ones, so I don&#039;t want them to have the same [[Class]] property. Why is that important?

Also about the length property I just call length() with parenthesis. You have an awfull lot of code just to get the same [[Class]] and avoid putting parenthesis after length.

Can you index a boxed array like a native array:
myFuseboxArray[0] = &quot;test&quot;;
and if so, can you fire an event when an element is set?]]></description>
		<content:encoded><![CDATA[<p>&#8220;The arrays, numbers, strings, and other sandboxed natives are real natives and can be treated like their non-sandboxed counterparts. For example they have the same internal [[Class]] property as natives and things like the array.length property work correctly.&#8221;<br />
Sorry for playing the devils advocate again, but:<br />
Actually in my code it&#8217;s important that I can distinguish my boxed types from the native ones, so I don&#8217;t want them to have the same [[Class]] property. Why is that important?</p>
<p>Also about the length property I just call length() with parenthesis. You have an awfull lot of code just to get the same [[Class]] and avoid putting parenthesis after length.</p>
<p>Can you index a boxed array like a native array:<br />
myFuseboxArray[0] = &#8220;test&#8221;;<br />
and if so, can you fire an event when an element is set?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

