<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/hash</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 05 Sep 2008 09:04:21 GMT</pubDate>
<item>
<title>(JavaScript) JavaScript implementation of the SHA-1 - ishikawa</title>
<link>http://snipplr.com/view/6175/javascript-implementation-of-the-sha1/</link>
<description><![CDATA[ <p>This is the javascript file for code which implements the Secure Hash Algorithm 1 as defined in FIPS 180-1 published April 17, 1995.</p> ]]></description>
<pubDate>Sat, 10 May 2008 05:38:39 GMT</pubDate>
<guid>http://snipplr.com/view/6175/javascript-implementation-of-the-sha1/</guid>
</item>
<item>
<title>(JavaScript) jQuery Object Hash and jQuery Extend - 1man</title>
<link>http://snipplr.com/view/5273/jquery-object-hash-and-jquery-extend/</link>
<description><![CDATA[ <p>An example of how to extent the jQuery objects to include our own methods.</p> ]]></description>
<pubDate>Wed, 05 Mar 2008 06:03:46 GMT</pubDate>
<guid>http://snipplr.com/view/5273/jquery-object-hash-and-jquery-extend/</guid>
</item>
<item>
<title>(JavaScript) Option Hash Using jQuery - 1man</title>
<link>http://snipplr.com/view/5221/option-hash-using-jquery/</link>
<description><![CDATA[ <p>If you have a complex function you may need to pass it lots of arguments. Instead of having to remember how many you need to pass, and passing 'null' for un needed arguments, pass the function an object.

Now you can set the defaults inside the function, which will be superseeded if they are passed as an argument.</p> ]]></description>
<pubDate>Wed, 27 Feb 2008 15:20:11 GMT</pubDate>
<guid>http://snipplr.com/view/5221/option-hash-using-jquery/</guid>
</item>
<item>
<title>(JavaScript) Associative Array - advance - vbert</title>
<link>http://snipplr.com/view/5136/associative-array--advance/</link>
<description><![CDATA[ <p>/* ---===[ EXAMPLE ]===--- */

var TT = new AssociativeArray();

TT.add("k-1", "Value 1");
TT.add("k-2", "Value 2");
TT.add("k-3", "Value 3");
TT.add("k-4", "Value 4");

alert(TT.to_string());</p> ]]></description>
<pubDate>Wed, 20 Feb 2008 20:30:22 GMT</pubDate>
<guid>http://snipplr.com/view/5136/associative-array--advance/</guid>
</item>
<item>
<title>(JavaScript) Simple hash table (associate array) in JavaScript - vbert</title>
<link>http://snipplr.com/view/5122/simple-hash-table-associate-array-in-javascript/</link>
<description><![CDATA[ <p>/* --==[ EXAMPLE ]==--

var colors = new AArray();
colors.add("k01", {bk:"#fff",tk:"b",it:"hello"});

var oC = colors.get("k01");

var tT = '';
for(K in oC) tT += "[" + K + "]: " + oC[K] + "\n";

tT += "\n\n";
tT += oC.bk + "\n";
tT += oC.tk + "\n";
tT += oC.it + "\n";

alert(tT);
*/</p> ]]></description>
<pubDate>Tue, 19 Feb 2008 12:40:34 GMT</pubDate>
<guid>http://snipplr.com/view/5122/simple-hash-table-associate-array-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) keys: get an array of all property names in an object - noah</title>
<link>http://snipplr.com/view/2841/keys-get-an-array-of-all-property-names-in-an-object/</link>
<description><![CDATA[ <p>do the same thing as the Perl "keys" subroutine</p> ]]></description>
<pubDate>Mon, 11 Jun 2007 08:56:49 GMT</pubDate>
<guid>http://snipplr.com/view/2841/keys-get-an-array-of-all-property-names-in-an-object/</guid>
</item>
<item>
<title>(JavaScript) Get URL Variables - Roshambo</title>
<link>http://snipplr.com/view/799/get-url-variables/</link>
<description><![CDATA[ <p>Read a page's GET URL variables and return them as an associative array.

----

Example for URL http://www.example.com/index.html?hello=bonjour&amp;goodevening=bonsoir

var hash = getUrlVars();
alert(hash['hello']); // prints 'bonjour'
alert(hash['goodevening']); // prints 'bonsoir'</p> ]]></description>
<pubDate>Mon, 14 Aug 2006 11:31:47 GMT</pubDate>
<guid>http://snipplr.com/view/799/get-url-variables/</guid>
</item>
</channel>
</rss>