2009-11-01 02:02:30 +08:00
|
|
|
var d = require("./d");
|
|
|
|
|
2009-11-29 01:26:59 +08:00
|
|
|
var assert = require("assert");
|
2009-11-01 02:02:30 +08:00
|
|
|
|
|
|
|
var package = require("./package");
|
|
|
|
|
2009-11-29 01:26:59 +08:00
|
|
|
assert.equal("world", package.hello);
|
2009-06-08 21:30:10 +08:00
|
|
|
|
2009-09-28 18:06:30 +08:00
|
|
|
debug("load fixtures/b/c.js");
|
|
|
|
|
2009-06-08 22:17:33 +08:00
|
|
|
var string = "C";
|
|
|
|
|
2010-02-11 19:09:46 +08:00
|
|
|
exports.SomeClass = function() {
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2009-04-21 19:52:21 +08:00
|
|
|
exports.C = function () {
|
2009-06-08 22:17:33 +08:00
|
|
|
return string;
|
2009-06-08 21:30:10 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
exports.D = function () {
|
|
|
|
return d.D();
|
|
|
|
};
|
2009-06-08 22:17:33 +08:00
|
|
|
|
2009-08-27 00:51:04 +08:00
|
|
|
process.addListener("exit", function () {
|
2009-06-08 22:17:33 +08:00
|
|
|
string = "C done";
|
2009-09-18 21:45:47 +08:00
|
|
|
puts("b/c.js exit");
|
2009-08-27 00:51:04 +08:00
|
|
|
});
|