<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,24 +1,26 @@
-hoffify_add = function() {
-    var file = hoff_data[Math.ceil(Math.random()*hoff_data.length) - 1];
+/*global document, window, hoff_data */
+
+var hoffify_add = function () {
+    var file = hoff_data[Math.ceil(Math.random() * hoff_data.length) - 1];
     
     var div = document.createElement('div');
     div.style.position = 'fixed';
     
-    var height = Math.random()*.9;
-    if (typeof(window.innerHeight) == 'number') {
-        height = height*window.innerHeight+'px';
-    } else if(document.documentElement &amp;&amp; document.documentElement.clientHeight) {
-        height = height*document.documentElement.clientHeight+'px';
+    var height = Math.random() * 0.9;
+    if (typeof(window.innerHeight) === 'number') {
+        height = height * window.innerHeight + 'px';
+    } else if (document.documentElement &amp;&amp; document.documentElement.clientHeight) {
+        height = height * document.documentElement.clientHeight + 'px';
     } else {
-        height = height*100+'%'; 
+        height = height * 100 + '%'; 
     }
     
     div.style.top = height;
-    div.style.left = Math.random()*90 + '%';
+    div.style.left = Math.random() * 90 + '%';
     div.style.zIndex = 10;
     var img = document.createElement('img');
-    img.setAttribute('src',file);
+    img.setAttribute('src', file);
     var body = document.getElementsByTagName('body')[0];
     body.appendChild(div);
     div.appendChild(img);
-}
+};</diff>
      <filename>hoffify.js</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b2978035baa535d0c2faa5becc81ec1624acf0dc</id>
    </parent>
  </parents>
  <author>
    <name>Neil Crosby</name>
    <email>neil@thetenwordreview.com</email>
  </author>
  <url>http://github.com/NeilCrosby/hoffify/commit/58288272c3470906391342c1d23c42a17af494ed</url>
  <id>58288272c3470906391342c1d23c42a17af494ed</id>
  <committed-date>2009-03-22T04:48:05-07:00</committed-date>
  <authored-date>2009-03-22T04:48:05-07:00</authored-date>
  <message>Making JSLint happy with recommended options</message>
  <tree>7476946e2f8573b92aac2c880ed2c5538d7a861f</tree>
  <committer>
    <name>Neil Crosby</name>
    <email>neil@thetenwordreview.com</email>
  </committer>
</commit>
