Merge pull request #22 from nyc-bookstores/gdata-fix
hoist gData onto window so other functions can use it
This commit is contained in:
		@@ -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")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user