Explicitly expose certain classes.

This commit is contained in:
Stefan Thomas
2012-11-23 18:41:01 -08:00
parent 03e1357448
commit fca3751375
2 changed files with 4 additions and 1 deletions

3
src/js/index.js Normal file
View File

@@ -0,0 +1,3 @@
exports.Remote = require('./remote').Remote;
exports.Amount = require('./amount').Amount;
exports.UInt160 = require('./amount').UInt160;

View File

@@ -6,7 +6,7 @@ var extend = require("extend");
var cfg = {
// General settings
baseName: pkg.name,
programPath: __dirname + "/src/js/remote.js",
programPath: __dirname + "/src/js/index.js",
// CLI-configurable options
watch: false,