registerOperator, registerConstant
This commit is contained in:
Vendored
+7
@@ -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