all da files
This commit is contained in:
		
							
								
								
									
										15
									
								
								node_modules/tabletop/examples/nodejs/test.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								node_modules/tabletop/examples/nodejs/test.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
			
		||||
var Tabletop = require('../../').Tabletop;
 | 
			
		||||
 | 
			
		||||
var testURL = 'https://docs.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AmYzu_s7QHsmdDNZUzRlYldnWTZCLXdrMXlYQzVxSFE&output=html';
 | 
			
		||||
 | 
			
		||||
function onLoad(data, tabletop) {
 | 
			
		||||
  console.log(data);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
var options = {
 | 
			
		||||
  key: testURL,
 | 
			
		||||
  callback: onLoad,
 | 
			
		||||
  simpleSheet: true
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
Tabletop.init(options);
 | 
			
		||||
		Reference in New Issue
	
	Block a user