clean up; remove unneded requires
This commit is contained in:
parent
68d4f5e2fa
commit
55275136b0
|
@ -11,9 +11,10 @@ var ABIGenerator = function(options) {
|
|||
ABIGenerator.prototype.generateProvider = function() {
|
||||
var self = this;
|
||||
var result = "";
|
||||
var providerPlugins;
|
||||
|
||||
if (this.plugins) {
|
||||
var providerPlugins = this.plugins.getPluginsFor('clientWeb3Provider');
|
||||
providerPlugins = this.plugins.getPluginsFor('clientWeb3Provider');
|
||||
}
|
||||
|
||||
if (this.plugins && providerPlugins.length > 0) {
|
||||
|
@ -35,9 +36,10 @@ ABIGenerator.prototype.generateProvider = function() {
|
|||
ABIGenerator.prototype.generateContracts = function(useEmbarkJS) {
|
||||
var self = this;
|
||||
var result = "\n";
|
||||
var contractsPlugins;
|
||||
|
||||
if (this.plugins) {
|
||||
var contractsPlugins = this.plugins.getPluginsFor('contractGeneration');
|
||||
contractsPlugins = this.plugins.getPluginsFor('contractGeneration');
|
||||
}
|
||||
|
||||
if (this.plugins && contractsPlugins.length > 0) {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
var async = require('async');
|
||||
var Compiler = require('./compiler.js');
|
||||
var DeployTracker = require('./deploy_tracker.js');
|
||||
var ABIGenerator = require('./abi.js');
|
||||
var web3;
|
||||
|
|
|
@ -1,12 +1,7 @@
|
|||
/*jshint esversion: 6 */
|
||||
var async = require('async');
|
||||
var Web3 = require('web3');
|
||||
var fs = require('fs');
|
||||
var grunt = require('grunt');
|
||||
var mkdirp = require('mkdirp');
|
||||
var colors = require('colors');
|
||||
var chokidar = require('chokidar');
|
||||
var path = require('path');
|
||||
|
||||
var Cmd = require('./cmd.js');
|
||||
var Deploy = require('./deploy.js');
|
||||
|
|
Loading…
Reference in New Issue