2009-11-01 02:02:30 +08:00
|
|
|
var c = require("./b/c");
|
2009-09-28 18:06:30 +08:00
|
|
|
|
|
|
|
debug("load fixtures/a.js");
|
|
|
|
|
2009-06-08 22:17:33 +08:00
|
|
|
var string = "A";
|
|
|
|
|
2010-02-11 19:09:46 +08:00
|
|
|
exports.SomeClass = c.SomeClass;
|
2009-09-18 21:45:47 +08:00
|
|
|
|
2009-04-21 19:52:21 +08:00
|
|
|
exports.A = function () {
|
2009-06-08 22:17:33 +08:00
|
|
|
return string;
|
2009-06-08 21:30:10 +08:00
|
|
|
};
|
2009-06-08 22:17:33 +08:00
|
|
|
|
2009-06-08 21:30:10 +08:00
|
|
|
exports.C = function () {
|
|
|
|
return c.C();
|
|
|
|
};
|
2009-06-08 22:17:33 +08:00
|
|
|
|
2009-06-08 21:30:10 +08:00
|
|
|
exports.D = function () {
|
|
|
|
return c.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 = "A done";
|
2009-08-27 00:51:04 +08:00
|
|
|
});
|