mirror of
https://github.com/nodejs/node.git
synced 2024-11-30 23:43:09 +01:00
ba792ea202
and there was much rejoicing
29 lines
414 B
JavaScript
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");
|
|
});
|