Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var
// code
code,
// file name
fileName;
if (CHECK_IS_DATA(codeOrParams) !== true) {
code = codeOrParams;
} else {
code = codeOrParams.code;
fileName = codeOrParams.fileName;
}
return CoffeeScript.run(code.toString(), {
literate : true,
filename : fileName
});
}
};
var
// code
code,
// file name
fileName;
if (CHECK_IS_DATA(codeOrParams) !== true) {
code = codeOrParams;
} else {
code = codeOrParams.code;
fileName = codeOrParams.fileName;
}
return CoffeeScript.run(code.toString(), {
filename : fileName
});
}
};