From 93a9a3065ff70ecfadbb9e3ccd49860d8b1921a9 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 27 Jul 2018 15:20:07 -0400 Subject: [PATCH] clean up --- lib/core/engine.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/lib/core/engine.js b/lib/core/engine.js index 293934125..24da952e5 100644 --- a/lib/core/engine.js +++ b/lib/core/engine.js @@ -159,27 +159,11 @@ class Engine { let self = this; this.registerModule('code_generator', {plugins: self.plugins, env: self.env}); - //const CodeGenerator = require('../contracts/code_generator.js'); - //this.codeGenerator = new CodeGenerator({ - // blockchainConfig: self.config.blockchainConfig, - // contractsConfig: self.config.contractsConfig, - // plugins: self.plugins, - // storageConfig: self.config.storageConfig, - // namesystemConfig: self.config.namesystemConfig, - // communicationConfig: self.config.communicationConfig, - // events: self.events, - // env: self.env - //}); - //this.codeGenerator.listenToCommands(); const generateCode = function () { self.events.request("code-generator:embarkjs:build", () => { self.events.emit('code-generator-ready'); }); - - //self.codeGenerator.buildEmbarkJS(function() { - // self.events.emit('code-generator-ready'); - //}); }; const cargo = async.cargo((_tasks, callback) => { generateCode();