MaiXinRong hace 6 años
padre
commit
5cee1cca94
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      app/public/js/zh_calc.js

+ 2 - 2
app/public/js/zh_calc.js

@@ -106,5 +106,5 @@ const ZhCalc = (function () {
     function round(value, decimal) {
         return value ? Decimal.round(value, decimal).toNumber() : null;
     };
-    return {plus, minus, times, divide, round}
-});
+    return {add, sub, mul, div, round}
+})();