move code generator to a module

This commit is contained in:
Iuri Matias 2018-07-27 14:54:25 -04:00
parent 935d7b76c7
commit 7b986666a6
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +0,0 @@
var __mainContext = __mainContext || (
this ? this : typeof self !== 'undefined' ? self : void 0
);

View File

@ -173,6 +173,10 @@ class Engine {
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();