Merge pull request #22 from nyc-bookstores/gdata-fix

hoist gData onto window so other functions can use it
This commit is contained in:
Jessica Lord 2015-03-25 14:43:29 -07:00
commit f66747ba7e

View File

@ -130,7 +130,7 @@
// so long, so messy // so long, so messy
function showInfo(gData) { function showInfo(gData) {
gData window.gData = gData
// make the table, and the search bar // make the table, and the search bar
Sheetsee.makeTable(gData, "#hackSpotsTable") Sheetsee.makeTable(gData, "#hackSpotsTable")
Sheetsee.initiateTableFilter(gData, "#tableFilter", "#hackSpotsTable") Sheetsee.initiateTableFilter(gData, "#tableFilter", "#hackSpotsTable")