2010-12-03 09:03:18 +08:00
|
|
|
var c = require('./b/c');
|
2009-09-28 18:06:30 +08:00
|
|
|
|
2010-12-03 09:03:18 +08:00
|
|
|
common.debug('load fixtures/a.js');
|
2009-09-28 18:06:30 +08:00
|
|
|
|
2010-12-03 09:03:18 +08:00
|
|
|
var string = 'A';
|
2009-06-08 22:17:33 +08:00
|
|
|
|
2010-02-11 19:09:46 +08:00
|
|
|
exports.SomeClass = c.SomeClass;
|
2009-09-18 21:45:47 +08:00
|
|
|
|
2010-12-03 09:03:18 +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
|
|
|
|
2010-12-03 09:03:18 +08:00
|
|
|
exports.C = function() {
|
2009-06-08 21:30:10 +08:00
|
|
|
return c.C();
|
|
|
|
};
|
2009-06-08 22:17:33 +08:00
|
|
|
|
2010-12-03 09:03:18 +08:00
|
|
|
exports.D = function() {
|
2009-06-08 21:30:10 +08:00
|
|
|
return c.D();
|
|
|
|
};
|
2009-06-08 22:17:33 +08:00
|
|
|
|
2010-09-20 02:20:25 +08:00
|
|
|
exports.number = 42;
|
|
|
|
|
2010-12-03 09:03:18 +08:00
|
|
|
process.addListener('exit', function() {
|
|
|
|
string = 'A done';
|
2009-08-27 00:51:04 +08:00
|
|
|
});
|