problem with eval js files - node.js 2.0 routing.js fs.readFile(filename, function(err, data) { data is object, not string for eval solution - export data object to string if (type === "js" && c.execute === true) { eval(""+data); // only change
problem with eval js files - node.js 2.0
routing.js
fs.readFile(filename, function(err, data) {
data is object, not string for eval
solution - export data object to string
if (type === "js" && c.execute === true) {
eval(""+data); // only change