Loading fsm.js +2 −2 Original line number Diff line number Diff line Loading @@ -366,7 +366,7 @@ var fsm = function () { this.snapshots.pop(); return; } r = num ** 0.5; r = Math.pow(num, 0.5); this.numberStack.push(r); debug("trail push " + [keyName, shortKeyName(keyName), r]); this.trail.push([shortKeyName(keyName), r]); Loading Loading @@ -398,7 +398,7 @@ var fsm = function () { } break; case keyNames.power: if (! this.doBinaryOperator(keyName, (lhs, rhs) => lhs ** rhs)) { if (! this.doBinaryOperator(keyName, (lhs, rhs) => Math.pow(lhs, rhs))) { return; } break; Loading operational +3 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,9 @@ doesn't work with <td> in firefox. ** 2017-01-26 make it work offline, add sw.js * done :entry: ** 2017-01-27 bug: ** is not supported in firefox. use Math.pow() instead. ** 2017-01-27 accept keyboard event as well. :low:featurereq: - num0 to num9 - dot Loading Loading
fsm.js +2 −2 Original line number Diff line number Diff line Loading @@ -366,7 +366,7 @@ var fsm = function () { this.snapshots.pop(); return; } r = num ** 0.5; r = Math.pow(num, 0.5); this.numberStack.push(r); debug("trail push " + [keyName, shortKeyName(keyName), r]); this.trail.push([shortKeyName(keyName), r]); Loading Loading @@ -398,7 +398,7 @@ var fsm = function () { } break; case keyNames.power: if (! this.doBinaryOperator(keyName, (lhs, rhs) => lhs ** rhs)) { if (! this.doBinaryOperator(keyName, (lhs, rhs) => Math.pow(lhs, rhs))) { return; } break; Loading
operational +3 −0 Original line number Diff line number Diff line Loading @@ -82,6 +82,9 @@ doesn't work with <td> in firefox. ** 2017-01-26 make it work offline, add sw.js * done :entry: ** 2017-01-27 bug: ** is not supported in firefox. use Math.pow() instead. ** 2017-01-27 accept keyboard event as well. :low:featurereq: - num0 to num9 - dot Loading