<?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>Devign &#124; Web Development, JavaScript, CSS, MooTools &#124; Elad Ossadon &#187; JavaScript</title> <atom:link href="http://devign.me/category/javascript/feed/" rel="self" type="application/rss+xml" /><link>http://devign.me</link> <description>Development with Style</description> <lastBuildDate>Tue, 20 Dec 2011 18:26:26 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Tree Rendering in Client-Side, No Recursion</title><link>http://devign.me/tree-rendering-in-client-side-no-recursion/</link> <comments>http://devign.me/tree-rendering-in-client-side-no-recursion/#comments</comments> <pubDate>Mon, 07 Feb 2011 16:00:12 +0000</pubDate> <dc:creator>Elad Ossadon</dc:creator> <category><![CDATA[DOM]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[dom]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[recursion]]></category> <category><![CDATA[tree]]></category> <guid
isPermaLink="false">http://devign.me/?p=160</guid> <description><![CDATA[How to create a UI of a tree on the Client Side, using JS &#038; DOM.]]></description> <wfw:commentRss>http://devign.me/tree-rendering-in-client-side-no-recursion/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>JavaScript Gotcha: Semicolon and Self Executed Function</title><link>http://devign.me/javascript-gotcha-semicolon-and-self-executed-function/</link> <comments>http://devign.me/javascript-gotcha-semicolon-and-self-executed-function/#comments</comments> <pubDate>Sun, 07 Nov 2010 23:26:08 +0000</pubDate> <dc:creator>Elad Ossadon</dc:creator> <category><![CDATA[JavaScript]]></category> <guid
isPermaLink="false">http://devign.me/?p=790</guid> <description><![CDATA[Wasted a couple of &#8220;What the hell is wrong here?&#8221; moments about this code: Runtime error: doSomething() is not a function. Obviously, I missed a semicolon after the doSomething() call, but I didn&#8217;t imagine this caused the error. JS usually forgives about missing semicolons, if next statement is not in the same line. However, having [...]]]></description> <wfw:commentRss>http://devign.me/javascript-gotcha-semicolon-and-self-executed-function/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>JavaScript Tip: Remove ‘falsy’ Items Out of an Array</title><link>http://devign.me/javascript-tip-remove-falsy-items-out-of-an-array/</link> <comments>http://devign.me/javascript-tip-remove-falsy-items-out-of-an-array/#comments</comments> <pubDate>Mon, 01 Nov 2010 21:51:45 +0000</pubDate> <dc:creator>Elad Ossadon</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[es5]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[mootools]]></category> <guid
isPermaLink="false">http://devign.me/?p=486</guid> <description><![CDATA[The new ECMAScript 5 brought a lot of enhancements that we used to see only on JavaScript frameworks. The Array class now has methods like forEach, map &#38; filter, which are very useful. If you need to support older browsers, which you probably do, this filtering method can be also found in MooTools (Array#filter), jQuery ($.grep) [...]]]></description> <wfw:commentRss>http://devign.me/javascript-tip-remove-falsy-items-out-of-an-array/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Asynchronous JavaScript Queue/Sequence</title><link>http://devign.me/asynchronous-javascript-queue-sequence/</link> <comments>http://devign.me/asynchronous-javascript-queue-sequence/#comments</comments> <pubDate>Fri, 08 Oct 2010 11:33:32 +0000</pubDate> <dc:creator>Elad Ossadon</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[callback]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[queue]]></category> <category><![CDATA[sequence]]></category> <guid
isPermaLink="false">http://devign.me/?p=88</guid> <description><![CDATA[What are Asynchronous Functions? An asynchronous function is a function whose completion depends on the actions of another object. The program in which it runs does not wait for the object to return a result, rather, that object “pushes” the result when it’s finished. This push comes through the callback function – a function defined [...]]]></description> <wfw:commentRss>http://devign.me/asynchronous-javascript-queue-sequence/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>MooTools toElement Method and ToElement Mixin</title><link>http://devign.me/mootools-toelement-method-and-toelement-mixin/</link> <comments>http://devign.me/mootools-toelement-method-and-toelement-mixin/#comments</comments> <pubDate>Tue, 28 Sep 2010 10:11:47 +0000</pubDate> <dc:creator>Elad Ossadon</dc:creator> <category><![CDATA[MooTools]]></category> <category><![CDATA[dom]]></category> <category><![CDATA[mootools]]></category> <guid
isPermaLink="false">http://devign.me/?p=208</guid> <description><![CDATA[The toElement Method Classes like Calendar, Slider, AutoCompleter etc. are all containing elements or responsible for elements. There are several approaches for how to handle the element in the class: Pass a container element as an argument to the constructor of the class, and append to it new elements that the class creates Have the [...]]]></description> <wfw:commentRss>http://devign.me/mootools-toelement-method-and-toelement-mixin/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>JS/DOM AHA Moment: getElementsByTagName Collection is Always Up to Date According to the Current DOM Tree</title><link>http://devign.me/getelementsbytagname-is-always-up-to-date-according-to-the-current-dom-tree/</link> <comments>http://devign.me/getelementsbytagname-is-always-up-to-date-according-to-the-current-dom-tree/#comments</comments> <pubDate>Tue, 07 Sep 2010 12:41:18 +0000</pubDate> <dc:creator>Elad Ossadon</dc:creator> <category><![CDATA[DOM]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[dom]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[webkit]]></category> <guid
isPermaLink="false">http://devign.me/?p=511</guid> <description><![CDATA[Today I found out something interesting about getElementsByTagName. This method is quite popular, it returns all elements of a requested tag under a specific parent element. The type which is returned out of a getElementsByTagName call is NodeList, which is not exactly an Array, but is enumerable and has the length property. When you call document.getElementsByTagName("div") you [...]]]></description> <wfw:commentRss>http://devign.me/getelementsbytagname-is-always-up-to-date-according-to-the-current-dom-tree/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>JavaScript &#8216;this&#8217; Keyword</title><link>http://devign.me/javascript-this-keyword/</link> <comments>http://devign.me/javascript-this-keyword/#comments</comments> <pubDate>Mon, 02 Aug 2010 09:56:37 +0000</pubDate> <dc:creator>Elad Ossadon</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[dom]]></category> <category><![CDATA[function]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[prototype]]></category> <category><![CDATA[this]]></category> <guid
isPermaLink="false">http://devign.me/?p=75</guid> <description><![CDATA[Definition of the JavaScript this Keyword – The object which called a function. The JavaScript this keyword is used within any function scope or the global scope, and in each scope it receives a different value. The value of this inside a function, effectively depends on the object which called it. What exactly is scope? Every function gets [...]]]></description> <wfw:commentRss>http://devign.me/javascript-this-keyword/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>MooTools: Track Class Instances With The TrackInstances Mutator</title><link>http://devign.me/mootools-track-class-instances-with-the-trackinstances-mutator/</link> <comments>http://devign.me/mootools-track-class-instances-with-the-trackinstances-mutator/#comments</comments> <pubDate>Mon, 19 Jul 2010 14:03:44 +0000</pubDate> <dc:creator>Elad Ossadon</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[MooTools]]></category> <category><![CDATA[class]]></category> <category><![CDATA[debug]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[mootools]]></category> <category><![CDATA[mutators]]></category> <guid
isPermaLink="false">http://devign.me/?p=180</guid> <description><![CDATA[(Script also on GitHub and MooTools Forge) It&#8217;s great to track all of your classes&#8217; instances for debugging purposes or mass altering. Huh? Mass Altering? For instances of some Audio/Video player classes: stop/pause all players For instances of positioned elements: recalculate position of all elements upon window resize Call hide method of all instances of a class [...]]]></description> <wfw:commentRss>http://devign.me/mootools-track-class-instances-with-the-trackinstances-mutator/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Bug: Chrome&#8217;s for..in Loop Messes the Order of the Indexes</title><link>http://devign.me/bug-chromes-for-in-loop-messes-the-order-of-the-indexes/</link> <comments>http://devign.me/bug-chromes-for-in-loop-messes-the-order-of-the-indexes/#comments</comments> <pubDate>Tue, 13 Jul 2010 08:33:30 +0000</pubDate> <dc:creator>Elad Ossadon</dc:creator> <category><![CDATA[Browsers]]></category> <category><![CDATA[JavaScript]]></category> <category><![CDATA[bugs]]></category> <category><![CDATA[chrome]]></category> <category><![CDATA[firefox]]></category> <category><![CDATA[for..in]]></category> <category><![CDATA[ie]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[loop]]></category> <category><![CDATA[order]]></category> <guid
isPermaLink="false">http://devign.me/?p=333</guid> <description><![CDATA[Yes. I know I should never rely on for..in loop order, but when it comes to inconsistency of browsers it can be annoying. I found it out when I wanted to fetch the first key of an object, but got different results on chrome (incorrect result) and other browsers. Code: The Result: Firefox / Safari [...]]]></description> <wfw:commentRss>http://devign.me/bug-chromes-for-in-loop-messes-the-order-of-the-indexes/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Asynchronous Waiting for JavaScript Procedures</title><link>http://devign.me/asynchronous-waiting-for-javascript-procedures/</link> <comments>http://devign.me/asynchronous-waiting-for-javascript-procedures/#comments</comments> <pubDate>Mon, 05 Jul 2010 10:10:19 +0000</pubDate> <dc:creator>Elad Ossadon</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[async]]></category> <category><![CDATA[callback]]></category> <category><![CDATA[delay]]></category> <category><![CDATA[javascript]]></category> <guid
isPermaLink="false">http://devign.me/?p=79</guid> <description><![CDATA[The Web is asynchronous. Many different types of components make up a system, and each one loads separately. Each component has a different way of loading, and a different way of notifying that it has loaded. Sometimes, it isn’t enough to have the component fully loaded, since affects other components on the page, and we [...]]]></description> <wfw:commentRss>http://devign.me/asynchronous-waiting-for-javascript-procedures/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
