mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-15 00:38:42 +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