registerOperator, registerConstant
This commit is contained in:
7
dist/index.js
vendored
7
dist/index.js
vendored
@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user