mirror of https://github.com/embarklabs/embark.git
cleanup; remove unneded requires
This commit is contained in:
parent
ea70d09e8c
commit
c2c41549c1
|
@ -1,5 +1,4 @@
|
|||
var async = require('async');
|
||||
var Web3 = require('web3');
|
||||
|
||||
var Deploy = require('./deploy.js');
|
||||
var ContractsManager = require('./contracts.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);
|
||||
});
|
||||
|
|
|
@ -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');
|
||||
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue