diff --git a/lib/contracts/deploy_manager.js b/lib/contracts/deploy_manager.js index 04ce315f2..ebbe5d087 100644 --- a/lib/contracts/deploy_manager.js +++ b/lib/contracts/deploy_manager.js @@ -1,5 +1,4 @@ var async = require('async'); -var Web3 = require('web3'); var Deploy = require('./deploy.js'); var ContractsManager = require('./contracts.js'); diff --git a/lib/core/services_monitor.js b/lib/core/services_monitor.js index f0f61b769..402eb1e7d 100644 --- a/lib/core/services_monitor.js +++ b/lib/core/services_monitor.js @@ -1,7 +1,4 @@ -var Web3 = require('web3'); var async = require('async'); -var http = require('http'); -var utils = require('./utils.js'); // TODO: repeated, add this to an async extensions file function asyncEachObject(object, iterator, callback) { @@ -35,9 +32,6 @@ ServicesMonitor.prototype.startMonitor = function() { async.eachObject(this.checkList, function(checkName, check, callback) { self.events.on('check:' + checkName, function(obj) { - //self.logger.info('checked ' + checkName); - //self.logger.info(JSON.stringify(obj)); - //self.logger.info(JSON.stringify(self.checkState)); self.checkState[checkName] = obj.name[obj.status]; self.events.emit("servicesState", self.checkState); }); diff --git a/lib/core/test.js b/lib/core/test.js index ac1b5e376..fe3b04063 100644 --- a/lib/core/test.js +++ b/lib/core/test.js @@ -1,15 +1,7 @@ var async = require('async'); var Web3 = require('web3'); -var Embark = require('../index.js'); - var Engine = require('./engine.js'); - -var ABIGenerator = require('../contracts/abi.js'); -var ContractsManager = require('../contracts/contracts.js'); -var Deploy = require('../contracts/deploy.js'); - -var Config = require('./config.js'); var RunCode = require('./runCode.js'); var TestLogger = require('./test_logger.js'); diff --git a/lib/index.js b/lib/index.js index 91b671af3..6a71a03fb 100644 --- a/lib/index.js +++ b/lib/index.js @@ -2,7 +2,6 @@ var async = require('async'); //require("./core/debug_util.js")(__filename, async); -var Web3 = require('web3'); var colors = require('colors'); var Engine = require('./core/engine.js');