<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://mootorial.com/wiki/lib/styles/feed.css" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>The MooTorial mootorial:03-native</title>
        <description></description>
        <link>http://mootorial.com/wiki/</link>
        <lastBuildDate>Mon, 06 Sep 2010 19:55:48 -0600</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://mootorial.com/wiki/lib/images/favicon.ico</url>
            <title>The MooTorial</title>
            <link>http://mootorial.com/wiki/</link>
        </image>
        <item>
            <title>Arrays</title>
            <link>http://mootorial.com/wiki/mootorial/03-native/00-array?rev=1251868264</link>
            <description>Here is the documentation for Array.js.

Array.each

Array.each() iterates through the array executing the specified function for each item in the array. The anonymous function can be passed two arguments (optional) - the item and the index.

.each() is really just a pointer to .forEach, which MooTools implements for browsers that don't already support it. Here's the documentation at Mozilla on .forEach.</description>
            <pubDate>Tue, 01 Sep 2009 23:11:04 -0600</pubDate>
        </item>
        <item>
            <title>Functions</title>
            <link>http://mootorial.com/wiki/mootorial/03-native/01-function?rev=1252237465</link>
            <description>Here is the documentation for Function.js.

Function.create

.create automatically wraps the function into another one with the defined set of functionalities, therefore shortens your code. It's used throughout mootools itself, as the foundation for .pass, .bind, .delay, .periodical.</description>
            <pubDate>Sun, 06 Sep 2009 05:44:25 -0600</pubDate>
        </item>
        <item>
            <title>Numbers</title>
            <link>http://mootorial.com/wiki/mootorial/03-native/02-number?rev=1225173217</link>
            <description>Here is the documentation for Number.js.

Number.toInt, .toFloat

Number.toInt() just returns the number; useful because toInt must work on both Strings and Numbers. Note that if you call .toInt() on a float, you'll get an integer back. 


var x = 10;
x.toInt(); //returns 10</description>
            <pubDate>Mon, 27 Oct 2008 23:53:37 -0600</pubDate>
        </item>
        <item>
            <title>Strings</title>
            <link>http://mootorial.com/wiki/mootorial/03-native/03-string?rev=1225173217</link>
            <description>Strings

Here is the documentation page for String.js.

String.test

Tests a string against a regular expression; optional second parameter for Regex options. Accepts regular expressions in both string and regexp mode.


&quot;I like cookies&quot;.test(&quot;cookie&quot;); // returns true</description>
            <pubDate>Mon, 27 Oct 2008 23:53:37 -0600</pubDate>
        </item>
        <item>
            <title>Hash</title>
            <link>http://mootorial.com/wiki/mootorial/03-native/04-hash?rev=1225173217</link>
            <description>Here is the documentation for Hash.js.

The Hash returns a hash map object with various helper functions for managing a JavaScript object. We must use .set, .get, and .remove to add/change, retrieve and remove values; we must not access the internal object directly. null values are allowed. Pass in an object to convert to a Hash.</description>
            <pubDate>Mon, 27 Oct 2008 23:53:37 -0600</pubDate>
        </item>
        <item>
            <title>Events</title>
            <link>http://mootorial.com/wiki/mootorial/03-native/05-event?rev=1230241351</link>
            <description>The Events class is a collection of functions for handling events across browsers. Here is the documentation for Event.js.

Whenever you add an event to a DOM element (not to be confused with the //Events// class in Class.Extras) the argument passed to that function will be the event native. This has been extended like other natives to have additional properties by MooTools.</description>
            <pubDate>Thu, 25 Dec 2008 14:42:31 -0600</pubDate>
        </item>
    </channel>
</rss>
