registerOperator, registerConstant

This commit is contained in:
Mahdi Dibaiee
2015-04-20 15:33:55 +04:30
parent 647d827e5d
commit a589a4d744
6 changed files with 61 additions and 29 deletions

7
dist/index.js vendored
View File

@ -93,6 +93,13 @@ var Equation = {
return Equation.solve(expression);
};
},
registerOperator: function registerOperator(key, options) {
_operators2['default'][key] = options;
},
registerConstant: function registerConstant(key, options) {
_constants2['default'][key] = options;
}
};