left over commented code

This commit is contained in:
Mahdi Dibaiee 2015-06-21 01:48:26 +04:30
parent d360065e1b
commit 84fbc60a06
3 changed files with 0 additions and 21 deletions

7
dist/index.js vendored
View File

@ -103,13 +103,6 @@ var Equation = {
stack = sortStack(stack); stack = sortStack(stack);
stack = _.parseNumbers(stack); stack = _.parseNumbers(stack);
stack = solveStack(stack); stack = solveStack(stack);
// expression = expression.replace(/[a-z]*/g, a => {
// let index = variables.indexOf(a);
// if (index > -1) {
// return args[index] || 0;
// }
// return a;
// });
return stack; return stack;
}; };

View File

@ -280,13 +280,6 @@ var Equation = {
stack = sortStack(stack); stack = sortStack(stack);
stack = _.parseNumbers(stack); stack = _.parseNumbers(stack);
stack = solveStack(stack); stack = solveStack(stack);
// expression = expression.replace(/[a-z]*/g, a => {
// let index = variables.indexOf(a);
// if (index > -1) {
// return args[index] || 0;
// }
// return a;
// });
return stack; return stack;
}; };

View File

@ -76,13 +76,6 @@ let Equation = {
stack = sortStack(stack); stack = sortStack(stack);
stack = _.parseNumbers(stack); stack = _.parseNumbers(stack);
stack = solveStack(stack); stack = solveStack(stack);
// expression = expression.replace(/[a-z]*/g, a => {
// let index = variables.indexOf(a);
// if (index > -1) {
// return args[index] || 0;
// }
// return a;
// });
return stack; return stack;
}; };