webapi-eca/node_modules/my-cryptico/index.js
2014-04-02 23:08:05 +02:00

8 lines
270 B
JavaScript

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 = module.exports = cryptico;