<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Young Dutch Design &#187; IE</title>
	<atom:link href="http://youngdutchdesign.com/tag/ie/feed" rel="self" type="application/rss+xml" />
	<link>http://youngdutchdesign.com</link>
	<description>Young Dutch Design is a new platform for young designers with frequently new added postings about productdesign, webdesign and other related subjects.</description>
	<lastBuildDate>Tue, 14 Jun 2011 20:25:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Done, but with errors on page</title>
		<link>http://youngdutchdesign.com/done-but-with-errors-on-page</link>
		<comments>http://youngdutchdesign.com/done-but-with-errors-on-page#comments</comments>
		<pubDate>Sat, 14 Nov 2009 15:03:14 +0000</pubDate>
		<dc:creator>Crispijn</dc:creator>
				<category><![CDATA[Mootools]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://youngdutchdesign.com/?p=1743</guid>
		<description><![CDATA[Today while writing a new Mootools class an error occurred. Not a new one, I&#8217;ve had this one before. But how could this happen? Everything worked fine in Firefox en Firebug was very happy with my programming. No errors found. This is the moment the frustration grows. You place alerts on every line of code [...]]]></description>
			<content:encoded><![CDATA[<p>Today while writing a new Mootools class an error occurred. Not a new one, I&#8217;ve had this one before.</p>
<p><img class="alignnone size-full wp-image-1744" title="screenshot.192" src="http://youngdutchdesign.com/wp-content/uploads/2009/11/screenshot.192.jpeg" alt="screenshot.192" width="449" height="299" /></p>
<p>But how could this happen? Everything worked fine in Firefox en Firebug was very happy with my programming. No errors found.</p>
<p><span id="more-1743"></span>This is the moment the frustration grows. You place alerts on every line of code you can imagine and there&#8217;s still no solution for this error. Well, I can recommend you to watch the comma&#8217;s. Place no comma on the wrong place or on a place where you don&#8217;t need a comma. I&#8217;ve added a comma to the last option and this is where IE is going to throw stupid errors:</p>
<pre class="javascript">var cvMenu = new Class({
	Implements: [Options],

	options: {
		duration: 500,
		delay: 1500,
		transition: Fx.Transitions.Quad.easeInOut,
	},

	/* The rest of my class */

	lastFunction: function(){

		/* Last function in the class */

	},
}</pre>
<p>Has to be:</p>
<pre class="javascript">var cvMenu = new Class({
	Implements: [Options],

	options: {
		duration: 500,
		delay: 1500,
		transition: Fx.Transitions.Quad.easeInOut /* No comma here */
	},

	/* The rest of my class */

	lastFunction: function(){

		/* Last function in the class */

	} /* No comma here */
}</pre>
<p>Also becarefull at the end of your class, after the last function you may not use a comma!</p>
<p>IE is making life great hûh?</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://youngdutchdesign.com/done-but-with-errors-on-page/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
