From 780fc197f3005bf6bddff1d7a353b0ad57b7f281 Mon Sep 17 00:00:00 2001 From: Todd Baur Date: Thu, 30 Mar 2017 22:31:23 +0900 Subject: [PATCH] remove static since we want these exposed --- lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.js b/lib/index.js index 7177081a..00e94968 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); }