mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
400 B
12 lines
400 B
14 years ago
|
var binding = process.binding('evals');
|
||
|
|
||
|
exports.Script = binding.Script;
|
||
14 years ago
|
exports.createScript = function (code, ctx, name) {
|
||
|
return new exports.Script(code, ctx, name);
|
||
|
};
|
||
|
|
||
|
exports.createContext = binding.Script.createContext;
|
||
|
exports.runInContext = binding.Script.runInContext;
|
||
|
exports.runInThisContext = binding.Script.runInThisContext;
|
||
|
exports.runInNewContext = binding.Script.runInNewContext;
|