<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
-/*
+/**
  *  NOTE: In case the version number doesn't tip you off... this is really
  *  preliminary code. I welcome you to try it out and tell me if it sucks;
  *  I'll try to make it suck less. Thanks!
@@ -23,7 +23,7 @@
  *
  *  The `History` object functions as an instance of Hash. While the page is
  *  loading, any calls to `History.set` will determine the _initial_ value
- *  of any key-value pair. After the window.load event fires, any key/value
+ *  of any key-value pair. After the window load event fires, any key/value
  *  pairs are serialized and placed into the URL hash.
  *
  *  Now, whenever `History.set` is called, the URL hash will change, and the
@@ -256,6 +256,14 @@
       }, this);
     },
   
+    /**
+     *  History.set(key, value)
+     *  
+     *  Sets a key/value pair, updating the URL and triggering a new
+     *  navigation state in the browser.
+     *  - key (String): The key to set.
+     *  - value (String): The value to set.
+    **/
     set: function($super, key, value) {
       var item;
       if (!this.get(key)) {
@@ -281,6 +289,12 @@
       return item;
     },
     
+    /**
+     *  Hash.get(key)
+     *  Retrieves the _current_ value of the item in the URL hash with the
+     *  given key.
+     *  - key (String): The key to retrieve.
+    **/    
     get: function($super, key) {
       var value = $super(key);
       return value ? value.currentState : null;</diff>
      <filename>history.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>8414210e3cb82fd3e0e20f85ad0a65d9316b573c</id>
    </parent>
  </parents>
  <author>
    <name>Andrew Dupont</name>
    <email>prototype@andrewdupont.net</email>
  </author>
  <url>http://github.com/savetheclocktower/javascript-stuff/commit/f537afd20cf3273bfe5c87cdaefb9e2125052a80</url>
  <id>f537afd20cf3273bfe5c87cdaefb9e2125052a80</id>
  <committed-date>2008-12-30T16:20:23-08:00</committed-date>
  <authored-date>2008-12-30T16:20:23-08:00</authored-date>
  <message>Added PDoc for history.js.</message>
  <tree>ba1868590feef33038570ef3f2823a9efce30ccf</tree>
  <committer>
    <name>Andrew Dupont</name>
    <email>prototype@andrewdupont.net</email>
  </committer>
</commit>
