Moved cpp code to src/cpp and js code to src/js.

This commit is contained in:
Stefan Thomas
2012-11-06 12:02:59 -08:00
parent 3c880b8301
commit fa3fab5816
214 changed files with 62 additions and 57 deletions

View File

@@ -1,12 +1,12 @@
var buster = require("buster");
var jsbn = require('../js/jsbn.js');
var jsbn = require('../src/js/jsbn.js');
var BigInteger = jsbn.BigInteger;
var nbi = jsbn.nbi;
var amount = require("../js/amount.js");
var Amount = require("../js/amount.js").Amount;
var UInt160 = require("../js/amount.js").UInt160;
var amount = require("../src/js/amount.js");
var Amount = require("../src/js/amount.js").Amount;
var UInt160 = require("../src/js/amount.js").UInt160;
var config = require('./config.js');

View File

@@ -2,8 +2,8 @@
var async = require("async");
var buster = require("buster");
var Amount = require("../js/amount.js").Amount;
var Remote = require("../js/remote.js").Remote;
var Amount = require("../src/js/amount.js").Amount;
var Remote = require("../src/js/remote.js").Remote;
var Server = require("./server.js").Server;
var testutils = require("./testutils.js");

View File

@@ -1,7 +1,7 @@
var buster = require("buster");
var Amount = require("../js/amount.js").Amount;
var Remote = require("../js/remote.js").Remote;
var Amount = require("../src/js/amount.js").Amount;
var Remote = require("../src/js/remote.js").Remote;
var Server = require("./server.js").Server;
var testutils = require("./testutils.js");

View File

@@ -1,8 +1,8 @@
var async = require("async");
var buster = require("buster");
var Amount = require("../js/amount.js").Amount;
var Remote = require("../js/remote.js").Remote;
var Amount = require("../src/js/amount.js").Amount;
var Remote = require("../src/js/remote.js").Remote;
var Server = require("./server.js").Server;
var testutils = require("./testutils.js");

View File

@@ -23,7 +23,7 @@ var util = require("util");
var EventEmitter = require('events').EventEmitter;
var config = require("./config.js");
var nodeutils = require("../js/nodeutils.js");
var nodeutils = require("../src/js/nodeutils.js");
// Create a server object
var Server = function (name, config, verbose) {

View File

@@ -1,8 +1,8 @@
var async = require("async");
// var buster = require("buster");
var Amount = require("../js/amount.js").Amount;
var Remote = require("../js/remote.js").Remote;
var Amount = require("../src/js/amount.js").Amount;
var Remote = require("../src/js/remote.js").Remote;
var Server = require("./server.js").Server;
var config = require("./config.js");

View File

@@ -1,7 +1,7 @@
var fs = require("fs");
var buster = require("buster");
var utils = require("../js/utils.js");
var utils = require("../src/js/utils.js");
buster.testCase("Utils", {
"hexToString and stringToHex" : {

View File

@@ -1,7 +1,7 @@
var buster = require("buster");
var Server = require("./server.js").Server;
var Remote = require("../js/remote.js").Remote;
var Remote = require("../src/js/remote.js").Remote;
// How long to wait for server to start.
var serverDelay = 1500;