leftover codes
This commit is contained in:
parent
485ebb3c9d
commit
f7fcbf9ef6
7
dist/index.js
vendored
7
dist/index.js
vendored
@ -107,13 +107,6 @@ var Equation = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
// 2x + 5x * x => 7x^2
|
|
||||||
simplify: function simplify(expression) {
|
|
||||||
var stack = parseExpression(expression);
|
|
||||||
|
|
||||||
console.log(stack);
|
|
||||||
},
|
|
||||||
|
|
||||||
registerOperator: function registerOperator(key, options) {
|
registerOperator: function registerOperator(key, options) {
|
||||||
_operators2['default'][key] = options;
|
_operators2['default'][key] = options;
|
||||||
},
|
},
|
||||||
|
@ -80,13 +80,6 @@ let Equation = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
// 2x + 5x * x => 7x^2
|
|
||||||
simplify(expression) {
|
|
||||||
let stack = parseExpression(expression);
|
|
||||||
|
|
||||||
console.log(stack);
|
|
||||||
},
|
|
||||||
|
|
||||||
registerOperator(key, options) {
|
registerOperator(key, options) {
|
||||||
operators[key] = options;
|
operators[key] = options;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user