webapi-eca/node_modules/my-cryptico/index.js

9 lines
261 B
JavaScript
Raw Normal View History

var fs = require('fs');
// We do this so we use the exact same librar in the browser and in node
// Read and eval library
// Eval is evil...
var filedata = fs.readFileSync('./webpages/public/js/cryptico.js','utf8');
eval(filedata);
exports.cryptico = cryptico