The copyright and license notice is already in the LICENSE file. There is no justifiable reason to also require that it be included in every file, since the individual files are not individually distributed except as part of the entire package.
28 lines
409 B
JavaScript
28 lines
409 B
JavaScript
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.on('exit', function() {
|
|
string = 'C done';
|
|
console.log('b/c.js exit');
|
|
});
|