galedric/nld — pull request #1 by cfsghost (2013-05-07 14:00:34+00:00)
Title: Add a new feature and fixed a bug

1. Fixed a bug that failed to loading symbol from bundle file.
2. add a option "e" to export "module.exports" of specific JavaScript file.

$ nld a.js -e a.js -o classA.nld

a.js file:
module.exports = function() {};

Making bundle file with "e" option, such bundle file can be used like below:

var ClassA = require('classA.nld');

var a = new ClassA();