0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/test/fixtures/b/c.js
Ryan Dahl ba792ea202 :%s/sys.puts/console.log/g
and there was much rejoicing
2010-06-23 20:05:29 -07:00

29 lines
414 B
JavaScript

var d = require("./d");
var assert = require("assert");
var package = require("./package");
assert.equal("world", package.hello);
debug("load fixtures/b/c.js");
var string = "C";
exports.SomeClass = function() {
};
exports.C = function () {
return string;
};
exports.D = function () {
return d.D();
};
process.addListener("exit", function () {
string = "C done";
console.log("b/c.js exit");
});