<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>styles.css</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -2,45 +2,16 @@
 &lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
   &lt;head&gt;
     &lt;title&gt;Functional Javascript&lt;/title&gt;
-    &lt;script type=&quot;text/javascript&quot; src=&quot;/javascripts/prototype.js&quot;&gt;&lt;/script&gt;
+    &lt;script type=&quot;text/javascript&quot; src=&quot;/javascripts/prototype-1.6.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;../gradients.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;functional.min.js&quot;&gt;&lt;/script&gt;
-&lt;!--     &lt;script type=&quot;text/javascript&quot; src=&quot;to-function.js&quot;&gt;&lt;/script&gt; --&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;../osdoc/Base.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;../osdoc/osdoc.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;evaluator.js&quot;&gt;&lt;/script&gt;
     &lt;script type=&quot;text/javascript&quot; src=&quot;index.js&quot;&gt;&lt;/script&gt;
     &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;../osdoc/osdoc.css&quot;/&gt;
+    &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;styles.css&quot;/&gt;
     &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;evaluator.css&quot;/&gt;
-    &lt;style type=&quot;text/css&quot;&gt;
-      body {padding:0pt 10pt 0 10pt; color:#222; background:#fff}
-      h1 {text-align:center;margin-bottom:2pt}
-      h2 .download {font-size: small}
-      .navbar {font-size:medium; color:gray;text-align:center;margin-bottom:5pt}
-      .navbar a {}
-      p, pre {line-height:1.25em; margin-top:0}
-      a {color:#888}
-      a:hover {color:blue}
-      samp {color:blue}
-      kbd {cursor:pointer}
-      kbd:hover {color:#080}
-      .docs  {padding-right:5em}
-      #header p {margin:0pt 20pt 0pt 20pt; padding-top:5pt}
-      #intro {padding-top:10pt;position:relative}
-      #header pre.example {margin-left: 4em}
-      #footer {color:#888; margin-top:2em; padding-top:2px; border-top:1px solid; font-size:small; text-align:center}
-      #intro {margin-bottom:5px}
-      #intro p {padding: 5px}
-      #evaluator .content {margin-left:10px;padding-bottom:5px}
-      #evaluator p {text-align:center; padding:5px; padding-top:10px;font-family:sans-serif}
-      #evaluator .input-column {background:white}
-      #evaluator .output-column {background:white}
-      #evaluator samp {color: black}
-      table {background:#f9f9f9}
-      #ie-warning {font-size:large;background:#f66;position:relative;padding:5px 10px 1px 10px;max-width:550px}
-      #ie-warning .close {text-align:right;display:block;font-size:x-large;margin-bottom:.5em}
-      #ie-warning a {color:blue}
-    &lt;/style&gt;
   &lt;/head&gt;
   &lt;body&gt;
     &lt;h1&gt;Functional Javascript&lt;/h1&gt;
@@ -49,7 +20,7 @@
       | &lt;a href=&quot;http://osteele.com/archives/2007/07/functional-javascript&quot;&gt;announcement&lt;/a&gt;
       | &lt;a href=&quot;http://code.google.com/p/functional-javascript/&quot;&gt;project page&lt;/a&gt;
       | download:
-      &lt;a href=&quot;functional.min.js.gz&quot;&gt;compressed (&lt;3K min gz)&lt;/a&gt;
+      &lt;a href=&quot;functional.min.js.gz&quot;&gt;compressed (&amp;lt;3K min gz)&lt;/a&gt;
       | &lt;a href=&quot;functional-1.0.2.tgz&quot;&gt;source&lt;/a&gt;
     &lt;/div&gt;
     &lt;div id=&quot;ie-warning&quot; style=&quot;display:none&quot;&gt;</diff>
      <filename>index.html</filename>
    </modified>
    <modified>
      <diff>@@ -1,23 +1,18 @@
-/*
- * Author: Oliver Steele
- * Copyright: Copyright 2007 by Oliver Steele.  All rights reserved.
- * License: MIT License
- * Homepage: http://osteele.com/javascripts/functional
- * Created: 2007-07-11
- * Modified: 2007-07-21
- */
-
-var gEval;
+/* Copyright 2007 by Oliver Steele.  Available under the MIT License. */
 
-// debugging references
-var gExamples, gDocs;
+var gAPIViewer,
+    gEval;
 
 function initialize() {
     $('noscript').innerHTML = $('noscript').innerHTML.replace(
             /&lt;span.*?&lt;\/span&gt;/,
         'If this message remains on the screen,');
-    gExamples = new OSDoc.Examples({onSuccess: noteCompletion.saturate('examples'), target: $('examples')}).load('examples.js');
-    gDocs = new OSDoc.APIDoc({onSuccess: noteCompletion.saturate('docs'), target: $('docs')}).load('functional.js', 'to-function.js');
+    new OSDoc.ExampleViewer().load('examples.js', {
+        onSuccess: noteCompletion.saturate('examples'),
+        target: 'examples'});
+    gAPIViewer = new OSDoc.APIViewer().load('functional.js', 'to-function.js', {
+        onSuccess: noteCompletion.saturate('docs'),
+        target: 'docs'});
     gEval = new Evaluator('#evaluator', {onUpdate: showEvaluator});
     initializeHeaderToggle();
     initializeTestLinks();
@@ -52,12 +47,12 @@ function initializeHeaderToggle() {
 function initializeTestLinks() {
     Event.observe('run-tests', 'click', function(e) {
         Event.stop(e);
-        var results = gDocs.runTests();
+        var results = gAPIViewer.runTests();
         alert(results.toHTML());
     });
     Event.observe('write-tests', 'click', function(e) {
         Event.stop(e);
-        var text = gDocs.getTestText();
+        var text = gAPIViewer.getTestText();
         document.write('&lt;pre&gt;'+text.escapeHTML()+'&lt;/pre&gt;');
     });
 }
@@ -71,7 +66,7 @@ function noteCompletion(flag) {
         var inputs = $$('kbd');
         gEval.makeClickable(inputs);
         if (window.location.search.match(/[\?&amp;]test\b/)) {
-            var results = gDocs.runTests();
+            var results = gAPIViewer.runTests();
             alert(results.toHTML());
         }
         scheduleGradientReset();</diff>
      <filename>index.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>f94e1609d85cc4c906cf7d67865577dfd34f04b0</id>
    </parent>
  </parents>
  <author>
    <name>Oliver Steele</name>
    <email>steele@osteele.com</email>
  </author>
  <url>http://github.com/osteele/functional-javascript/commit/f949f5cafdc829aa2ac963fca95427128d749917</url>
  <id>f949f5cafdc829aa2ac963fca95427128d749917</id>
  <committed-date>2007-11-14T06:43:43-08:00</committed-date>
  <authored-date>2007-11-14T06:43:43-08:00</authored-date>
  <message>update to prototype 1.6; factor +styles.css</message>
  <tree>31460508397ccf0673ad7e0ac2601aba63947063</tree>
  <committer>
    <name>Oliver Steele</name>
    <email>steele@osteele.com</email>
  </committer>
</commit>
