cleanup; remove unneded requires

This commit is contained in:
Iuri Matias 2017-03-11 10:38:05 -05:00
parent ea70d09e8c
commit c2c41549c1
4 changed files with 0 additions and 16 deletions

View File

@ -1,5 +1,4 @@
var async = require('async');
var Web3 = require('web3');
var Deploy = require('./deploy.js');
var ContractsManager = require('./contracts.js');

View File

@ -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);
});

View File

@ -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');

View File

@ -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');