mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
418 B
28 lines
418 B
var d = require('./d');
|
|
|
|
var assert = require('assert');
|
|
|
|
var package = require('./package');
|
|
|
|
assert.equal('world', package.hello);
|
|
|
|
console.error('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');
|
|
});
|
|
|