mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Refactor JavaScript library.
- Separate classes in separate modules (files) - Constants should be associated with a class - Replace exports.config scheme with a config singleton - Refactor base58 functions as a static class
This commit is contained in:
@@ -12,8 +12,8 @@ var testutils = require("./testutils.js");
|
||||
|
||||
var config = require("./config.js");
|
||||
|
||||
require("../src/js/amount.js").config = require("./config.js");
|
||||
require("../src/js/remote.js").config = require("./config.js");
|
||||
var extend = require('extend');
|
||||
extend(require('../src/js/config'), require('./config'));
|
||||
|
||||
// How long to wait for server to start.
|
||||
var serverDelay = 1500;
|
||||
|
||||
Reference in New Issue
Block a user