<?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>Fusselwurm &#187; javascript</title>
	<atom:link href="http://www.fusselwurm.de/wp/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fusselwurm.de/wp</link>
	<description>geek licence revoked</description>
	<lastBuildDate>Tue, 13 Apr 2010 10:09:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ECMAScript5 &#8230; möp.</title>
		<link>http://www.fusselwurm.de/wp/2009/12/24/ecmascript5-mop/</link>
		<comments>http://www.fusselwurm.de/wp/2009/12/24/ecmascript5-mop/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 21:28:21 +0000</pubDate>
		<dc:creator>Fusselwurm</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ecmascript]]></category>
		<category><![CDATA[highlighting]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.fusselwurm.de/wp/?p=290</guid>
		<description><![CDATA[Dadumdidum&#8230; ECMAScript5 (&#8220;JavaScript&#8221;) gefällt mir. Und weil&#8217;s so schön ist, implementier ich schon mal die neuen Arraymethoden&#8230; bspw.: if (typeof Array.prototype.indexOf === 'undefined') { /** * 15.4.4.14 * NOTE the second parameter fromIndex is not explicitly stated so that the * method's length property becomes 1 * * @param searchElement array element to be searched [...]]]></description>
			<content:encoded><![CDATA[<p>Dadumdidum&#8230; <a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">ECMAScript5</a> (&#8220;JavaScript&#8221;) gefällt mir. Und weil&#8217;s so schön ist, implementier ich schon mal die neuen Arraymethoden&#8230; bspw.:</p>
<pre class="brush: jscript;">
if (typeof Array.prototype.indexOf === 'undefined') {

	/**
	* 15.4.4.14
	* NOTE the second parameter fromIndex is not explicitly stated so that the
	*      method's length property becomes 1
	*
	* @param searchElement array element to be searched for
	* @param fromIndex (optional, integer)
	*/
	Array.prototype.indexOf = function (f) {
		var l = this.length,
			i = arguments[1] || 0;

		i += (i &lt; 0) ? l : 0;

		for (i = Math.max(i, 0); i &lt; l; i += 1) {
			if (this[i] === f) {
				return i;
			}
		}
		return -1;
	};
}
</pre>
<p>&#8230;außerdem gefällt mir dieses Syntax-Highlighting hier :D<br />
to be extended&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fusselwurm.de/wp/2009/12/24/ecmascript5-mop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>note to self: javascript plasmoids</title>
		<link>http://www.fusselwurm.de/wp/2009/10/31/note-to-self-javascript-plasmoids/</link>
		<comments>http://www.fusselwurm.de/wp/2009/10/31/note-to-self-javascript-plasmoids/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 11:12:08 +0000</pubDate>
		<dc:creator>Fusselwurm</dc:creator>
				<category><![CDATA[blah]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[plasma]]></category>
		<category><![CDATA[plasmoid]]></category>

		<guid isPermaLink="false">http://www.fusselwurm.de/wp/?p=281</guid>
		<description><![CDATA[When trying to add a javascript plasmoid to the KDE Destop (kubuntu 9.10 aka karmic), it showed only this message: Could not create a javascript ScriptEngine Very helpful indeed. Turns out I had to install the package plasma-scriptengine-javascript .]]></description>
			<content:encoded><![CDATA[<p>When trying to add a javascript plasmoid to the KDE Destop (kubuntu 9.10 aka karmic), it showed only this message:</p>
<blockquote><p><code>Could not create a javascript ScriptEngine</code></p></blockquote>
<p>Very helpful indeed.<br />
Turns out I had to install the package <code>plasma-scriptengine-javascript</code> .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fusselwurm.de/wp/2009/10/31/note-to-self-javascript-plasmoids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASCII art generator</title>
		<link>http://www.fusselwurm.de/wp/2009/10/24/ascii-art-generator/</link>
		<comments>http://www.fusselwurm.de/wp/2009/10/24/ascii-art-generator/#comments</comments>
		<pubDate>Sat, 24 Oct 2009 20:33:57 +0000</pubDate>
		<dc:creator>Fusselwurm</dc:creator>
				<category><![CDATA[blah]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[♥]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.fusselwurm.de/wp/?p=268</guid>
		<description><![CDATA[When having a romantic streak, normal heart shapes are not enough for me. They have to be special. That&#8217;s why I wrote an ASCII art generator. Be warned: It works in Firefox 3.5, and I suspect nowhere else. I do not care enough, but if you want to improve upon things, I put the code [...]]]></description>
			<content:encoded><![CDATA[<p>When having a romantic streak, normal heart shapes are not enough for me. They have to be special. That&#8217;s why I wrote an <a href="http://www.fusselwurm.de/asciify/">ASCII art generator</a>.<br />
Be warned: It works in Firefox 3.5, and I suspect nowhere else. I do not care enough, but if you want to improve upon things, I put the code <a href="http://github.com/Fusselwurm/ASCIIfy">on github</a>.<br />
Also, it&#8217;s really slow, but that&#8217;s the prize to pay for doing graphics in Javascript. ;)</p>
<pre style="letter-spacing: 0.1em;font-family: Courier">       ''
          ,wNWWWH|
       'WWWWWWWWWWWWWc        ~"tc!':-^&gt;oRt,
      WWWW#        /WWW0    ,Yt)         ^1WW`
     WWW1\            WWWV !)^-M`": ^"  \   !Wo~
    WWW   :      Wj   WWWWWW}':    tW        MW,
    WWC  J      ^WWWWWW= :WWW0~ ,&lt;@WWNRWBWt``WAc
   'WW  MT,-     'zHo^  ^   /JWWWs&gt;/      'NWr &gt;
   3WWD     ,:"~- :          )WW  ,         W-
    aWWzWf !A[             |  3  `^        !  W
     zWWWWD#}  yW   W        NM          WW  Wr
      @WWWWWWWWr         -WWWWWW'        WRkW^
         xWWWW9c'&gt; ,,   8W0~'JMWWWx     WWWo
           &gt;@W2tHBWWX  :WN      WW,   WWW^
             ~0 +   cW   vW     EW'hWWw
               -wk4x^Wx        vWWWt
              v   `+6A[!:'   %WWD
                       "^' 4WWW
                        :^ WW{W
                         vW}
                          W         </pre>
<p>(I took the liberty of using an <a href="http://www.dreamstime.com/artistic-heart-shape-image6590475">image</a> by <a href="http://www.dreamstime.com/Akv2006_info">Aleksejs Kostins</a> here).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fusselwurm.de/wp/2009/10/24/ascii-art-generator/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
