kopia lustrzana https://github.com/backface/turtlestitch
made identity comparison of texts case-sensitive
rodzic
4d8fe5b083
commit
aea097b865
|
@ -3,6 +3,7 @@
|
|||
## in development:
|
||||
|
||||
* **Notable Changes:**
|
||||
* identity comparison of texts is now case-sensitive
|
||||
* hyperized image attribute reporter primitive (monadic)
|
||||
* when constructing a costume from a pixel list handle single values as greyscale
|
||||
* experimental "transpose (list)" primitive relabelling option for "all but first"
|
||||
|
@ -19,6 +20,7 @@
|
|||
|
||||
### 2021-01-02
|
||||
* lists: refactored some matrix operations
|
||||
* threads: made identity comparison of texts case-sensitive
|
||||
|
||||
### 2021-01-30
|
||||
* threads, objects, lists: renamed experimental "rotate" primitive into "transpose"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<script src="src/symbols.js?version=2020-10-07"></script>
|
||||
<script src="src/widgets.js?version=2021-01-05"></script>
|
||||
<script src="src/blocks.js?version=2020-12-22"></script>
|
||||
<script src="src/threads.js?version=2021-01-30"></script>
|
||||
<script src="src/threads.js?version=2021-02-01"></script>
|
||||
<script src="src/objects.js?version=2021-01-30"></script>
|
||||
<script src="src/gui.js?version=2021-01-21"></script>
|
||||
<script src="src/paint.js?version=2020-05-17"></script>
|
||||
|
|
|
@ -61,7 +61,7 @@ StageMorph, SpriteMorph, StagePrompterMorph, Note, modules, isString, copy, Map,
|
|||
isNil, WatcherMorph, List, ListWatcherMorph, alert, console, TableMorph, BLACK,
|
||||
TableFrameMorph, ColorSlotMorph, isSnapObject, newCanvas, Symbol, SVG_Costume*/
|
||||
|
||||
modules.threads = '2021-January-30';
|
||||
modules.threads = '2021-February-01';
|
||||
|
||||
var ThreadManager;
|
||||
var Process;
|
||||
|
@ -3904,6 +3904,10 @@ Process.prototype.reportNot = function (bool) {
|
|||
|
||||
Process.prototype.reportIsIdentical = function (a, b) {
|
||||
var tag = 'idTag';
|
||||
if (isString(a) && isString(b)) {
|
||||
// compare texts case-sentitive
|
||||
return a === b;
|
||||
}
|
||||
if (this.isImmutable(a) || this.isImmutable(b)) {
|
||||
return snapEquals(a, b);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue