From f6d6f14ed2c89799223dc082aa2570e37a16ab66 Mon Sep 17 00:00:00 2001 From: jlord Date: Wed, 31 Jul 2013 14:33:27 -0700 Subject: [PATCH] delete uneeded file --- index.js | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 index.js diff --git a/index.js b/index.js deleted file mode 100644 index 89d90cf..0000000 --- a/index.js +++ /dev/null @@ -1,26 +0,0 @@ -window.Tabletop = require('./tabletop.js').Tabletop -var fs = require('filesystem-browserify') - -module.exports = SheetSee - -function SheetSee(URL){ - console.log("this is fs", fs) - var self = this - Tabletop.init( { key: URL, - callback: function(data, tabletop) {self.readyData(data, tabletop)}, - simpleSheet: true } ) - this.sheetData = [] -} - -SheetSee.prototype.readyData = function(data, tabletop, callback){ - this.sheetData = data - - fs.writeFile('message.txt', 'Hello Node', function (err) { - if (err) throw err; - console.log('It\'s saved!'); - }); - - console.log("the datas", this.sheetData) - callback(this.sheetData) -} -