kopia lustrzana https://github.com/backface/turtlestitch
fixed keyboard formula input for "neg"
rodzic
9f208d0e51
commit
a7d6bd8ef3
|
@ -4,12 +4,13 @@
|
||||||
|
|
||||||
* **Notable Fixes:**
|
* **Notable Fixes:**
|
||||||
* fixed a costume fitting issue, thanks, Joan!
|
* fixed a costume fitting issue, thanks, Joan!
|
||||||
* fixed keyboard formula input for "power of"
|
* fixed keyboard formula input for "power of" and "neg"
|
||||||
|
|
||||||
### 2020-11-15
|
### 2020-11-15
|
||||||
* new dev version
|
* new dev version
|
||||||
* objects: fixed costume fitting, thanks, Joan!
|
* objects: fixed costume fitting, thanks, Joan!
|
||||||
* objects: fixed keyboard formula input for "power of"
|
* objects: fixed keyboard formula input for "power of"
|
||||||
|
* objects: fixed keyboard formula input for "neg"
|
||||||
|
|
||||||
## 6.3.2
|
## 6.3.2
|
||||||
* **Notable Changes:**
|
* **Notable Changes:**
|
||||||
|
|
|
@ -3398,11 +3398,12 @@ SpriteMorph.prototype.reporterize = function (expressionString) {
|
||||||
round: 'reportRound',
|
round: 'reportRound',
|
||||||
not: 'reportNot'
|
not: 'reportNot'
|
||||||
};
|
};
|
||||||
monads = ['abs', 'ceiling', 'floor', 'sqrt', 'sin', 'cos', 'tan',
|
monads = ['abs', 'neg', 'ceiling', 'floor', 'sqrt', 'sin', 'cos',
|
||||||
'asin', 'acos', 'atan', 'ln', 'log', 'round', 'not'];
|
'tan', 'asin', 'acos', 'atan', 'ln', 'log', 'round', 'not'];
|
||||||
alias = {
|
alias = {
|
||||||
ceil: 'ceiling',
|
ceil: 'ceiling',
|
||||||
'!' : 'not'
|
'!' : 'not',
|
||||||
|
'-' : 'neg'
|
||||||
};
|
};
|
||||||
monads.concat(['true', 'false']).forEach(word =>
|
monads.concat(['true', 'false']).forEach(word =>
|
||||||
reverseDict[localize(word).toLowerCase()] = word
|
reverseDict[localize(word).toLowerCase()] = word
|
||||||
|
|
Ładowanie…
Reference in New Issue