diff --git a/lib/index.js b/lib/index.js index 7177081ae..00e94968c 100644 --- a/lib/index.js +++ b/lib/index.js @@ -44,7 +44,7 @@ class Embark extends EventEmitter { simulator.run(options); } - static generateTemplate(templateName, destinationFolder, name) { + generateTemplate(templateName, destinationFolder, name) { let TemplateGenerator = require('./cmds/template_generator.js'); let templateGenerator = new TemplateGenerator(templateName); templateGenerator.generate(destinationFolder, name); @@ -176,7 +176,7 @@ class Embark extends EventEmitter { }); } - static initTests(options) { + initTests(options) { let Test = require('./core/test.js'); return new Test(options); }