mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
Fixed some small oversights
This commit is contained in:
parent
08d72fc7d8
commit
ccd8088f93
1 changed files with 1 additions and 3 deletions
4
vendor/assets/javascripts/ruleJS.js
vendored
4
vendor/assets/javascripts/ruleJS.js
vendored
|
@ -1,4 +1,4 @@
|
|||
let ruleJS = (function (root) {
|
||||
var ruleJS = (function (root) {
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
|
@ -1096,11 +1096,9 @@ let ruleJS = (function (root) {
|
|||
break;
|
||||
case '^':
|
||||
result = Math.pow(number1, number2);
|
||||
|
||||
break;
|
||||
case 'e':
|
||||
result = number1 * Math.pow(10, number2);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue