Skip to content

Commit

Permalink
adding sheetrock. Maybe use this instead of tabletop?
Browse files Browse the repository at this point in the history
  • Loading branch information
daigofuji committed Oct 29, 2012
1 parent 6370d72 commit 224f488
Show file tree
Hide file tree
Showing 4 changed files with 395 additions and 37 deletions.
2 changes: 1 addition & 1 deletion www/index.php
Expand Up @@ -54,7 +54,7 @@
}
?>
</div>
<p class="note"><strong>Note:</strong> Thanks for visiting! This site is still work in progress. If you are using this for reference, always double check the data in <a href="https://docs.google.com/a/daigofujiwara.com/spreadsheet/pub?key=0Apvvlouo3eMgdHhDWF9vTThTODlxRnFMMWVjd09GdWc&amp;single=true&amp;gid=0&amp;output=html">Google Doc</a>, gathered from <a href="http://www.retrosheet.org/">retrosheet</a>. A <a href="http://baseballhackday.com/">Boston Baseball Hack Day 2012</a> project. Contribute via <a href="https://github.com/daigofuji/State-of-Rivalry">GitHub</a> & <a href="mailto:daigo@daigofujiwara.com">report errors</a>. Thank you.</p>
<p class="note"><strong>Note:</strong> Thanks for visiting! This site is still work in progress (though it is functional and data is up to date). If you are using this for reference, always double check the data in <a href="https://docs.google.com/a/daigofujiwara.com/spreadsheet/pub?key=0Apvvlouo3eMgdHhDWF9vTThTODlxRnFMMWVjd09GdWc&amp;single=true&amp;gid=0&amp;output=html">Google Doc</a>, gathered from <a href="http://www.retrosheet.org/">retrosheet</a>. A <a href="http://baseballhackday.com/">Boston Baseball Hack Day 2012</a> project. Contribute via <a href="https://github.com/daigofuji/State-of-Rivalry">GitHub</a> & <a href="mailto:daigo@daigofujiwara.com">report errors</a>. Thank you.</p>

<h2>All-time win-loss record <em>(<span class="smaller">Total number of games:</span> <span id="game_total">..</span>)</em></h2>
<h3 id="loading"><br/><img src="img/ajax-loader.gif" width="220" height="19" /><br/>Loading over 2,000 game data... (Thanks for your patience!)<br/></h3>
Expand Down
28 changes: 14 additions & 14 deletions www/js/getgames.js
@@ -1,17 +1,17 @@
$(document).ready(function() {
getgames();
$(document).ready(function() {
getgames();
});

var a;
var public_spreadsheet_url = 'https://docs.google.com/spreadsheet/pub?key=0Apvvlouo3eMgdHhDWF9vTThTODlxRnFMMWVjd09GdWc&output=htm';
var a;
var public_spreadsheet_url = 'https://docs.google.com/spreadsheet/pub?key=0Apvvlouo3eMgdHhDWF9vTThTODlxRnFMMWVjd09GdWc&output=htm';

function getgames() {
a = Tabletop({
key: public_spreadsheet_url,
callback: showInfo,
simpleSheet: true
});
}
function getgames() {
a = Tabletop({
key: public_spreadsheet_url,
callback: showInfo,
simpleSheet: true
});
}

var count = 0;

Expand Down Expand Up @@ -92,6 +92,6 @@
div.innerHTML = div.innerHTML + html;
}

function pad2(number) {
return (number < 10 ? '0' : '') + number
}
function pad2(number) {
return (number < 10 ? '0' : '') + number
}

0 comments on commit 224f488

Please sign in to comment.