Updated JQuery; Added resize sensor library; Updated the admin code (prior to changing gears to use Meteor).

This commit is contained in:
Wynne Crisman
2016-12-28 11:13:44 -08:00
parent 801c0507e5
commit 00f2be30ce
58 changed files with 29553 additions and 252 deletions

15
csv.js Normal file
View File

@@ -0,0 +1,15 @@
var fs = require("fs");
var csv = require('csv-parse');
module.exports = {
read: function(csvFilePath, callback) {
var parser = csv({delimiter: '\t'}, function(error, data) {
if(error) callback(error);
else callback(null, data);
});
fs.createReadStream(csvFilePath).pipe(parser);
}
};