mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-29 17:58:41 +00:00
Fix typehints+var type etc.
This commit is contained in:
parent
ceee8a41d8
commit
cd7a35f1a0
|
|
@ -1,22 +0,0 @@
|
|||
var MathEvaluator = function () {
|
||||
|
||||
};
|
||||
|
||||
MathEvaluator.prototype.attach = function () {
|
||||
|
||||
};
|
||||
|
||||
MathEvaluator.prototype.detach = function () {
|
||||
|
||||
};
|
||||
|
||||
MathEvaluator.prototype.trigger = function (node) {
|
||||
var value = node.value;
|
||||
|
||||
if (!value.slice(0, 1) == '=') {
|
||||
return;
|
||||
}
|
||||
|
||||
var processor = new MathProcessor();
|
||||
return processor.parse(value);
|
||||
};
|
||||
Loading…
Reference in New Issue
Block a user