From a8f47cd662b5018fc89b1845e9b970cc832b2035 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Mon, 20 Apr 2015 14:01:55 +0430 Subject: [PATCH] equation --- lib/index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/index.js b/lib/index.js index 0f2b448..82afcdf 100644 --- a/lib/index.js +++ b/lib/index.js @@ -3,7 +3,7 @@ import operators from './operators'; import constants from './constats'; import * as _ from './helpers'; -let Mathstring = { +let Equation = { /** * Solves the given math expression, following these steps: * 1. Replace constants in the expression @@ -64,8 +64,7 @@ let Mathstring = { return a; }); - console.log(variables, expression); - return Mathstring.solve(expression); + return Equation.solve(expression); }; } }; @@ -293,4 +292,4 @@ const replaceConstants = expression => { }); }; -export default Mathstring; +export default Equation;