kopia lustrzana https://github.com/backface/turtlestitch
fixed minor issues in api, updated version log
rodzic
e078f80a7e
commit
83624c2f4e
|
@ -8,12 +8,14 @@
|
||||||
* **Notable Fixes:**
|
* **Notable Fixes:**
|
||||||
* fixed storing the stage name(s)
|
* fixed storing the stage name(s)
|
||||||
* removed distinction between number and string keys in "analyze"
|
* removed distinction between number and string keys in "analyze"
|
||||||
|
* fixed variable binding when broadcasting through the API, thanks, Zak!
|
||||||
* **Documentation Updates:**
|
* **Documentation Updates:**
|
||||||
* **Translation Updates:**
|
* **Translation Updates:**
|
||||||
* Italian, thanks, Stefano!
|
* Italian, thanks, Stefano!
|
||||||
|
|
||||||
### 2022-01-03
|
### 2022-01-03
|
||||||
* Italian translation update, thanks, Stefano!
|
* Italian translation update, thanks, Stefano!
|
||||||
|
* api: fixed variable binding when broadcasting through the API, thanks, Zak!
|
||||||
|
|
||||||
### 2022-01-02
|
### 2022-01-02
|
||||||
* store: fixed storing the stage name(s)
|
* store: fixed storing the stage name(s)
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<script src="src/store.js?version=2022-01-02"></script>
|
<script src="src/store.js?version=2022-01-02"></script>
|
||||||
<script src="src/locale.js?version=2022-01-03"></script>
|
<script src="src/locale.js?version=2022-01-03"></script>
|
||||||
<script src="src/cloud.js?version=2021-02-04"></script>
|
<script src="src/cloud.js?version=2021-02-04"></script>
|
||||||
<script src="src/api.js?version=2021-11-17"></script>
|
<script src="src/api.js?version=2022-01-03"></script>
|
||||||
<script src="src/sha512.js?version=2019-06-27"></script>
|
<script src="src/sha512.js?version=2019-06-27"></script>
|
||||||
<script src="src/FileSaver.min.js?version=2019-06-27"></script>
|
<script src="src/FileSaver.min.js?version=2019-06-27"></script>
|
||||||
<script>
|
<script>
|
||||||
|
|
12
src/api.js
12
src/api.js
|
@ -7,7 +7,7 @@
|
||||||
written by Jens Mönig
|
written by Jens Mönig
|
||||||
jens@moenig.org
|
jens@moenig.org
|
||||||
|
|
||||||
Copyright (C) 2021 by Jens Mönig
|
Copyright (C) 2022 by Jens Mönig
|
||||||
|
|
||||||
This file is part of Snap!.
|
This file is part of Snap!.
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
prerequisites:
|
prerequisites:
|
||||||
--------------
|
--------------
|
||||||
needs gui.js, lists.js and morphic.js
|
needs gui.js, lists.js, objects.js, threads.js and morphic.js
|
||||||
|
|
||||||
|
|
||||||
documentation
|
documentation
|
||||||
|
@ -40,13 +40,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*global modules, IDE_Morph, isString, Map, List, world, isNil, Project,
|
/*global modules, IDE_Morph, isString, Map, List, world, isNil, Project,
|
||||||
detect*/
|
detect, isSnapObject, VariableFrame*/
|
||||||
|
|
||||||
/*jshint esversion: 6*/
|
/*jshint esversion: 6*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.api = '2021-November-17';
|
modules.api = '2022-January-03';
|
||||||
|
|
||||||
// IDE_Morph external communication API - experimental
|
// IDE_Morph external communication API - experimental
|
||||||
/*
|
/*
|
||||||
|
@ -158,10 +158,10 @@ IDE_Morph.prototype.broadcast = function(message, callback) {
|
||||||
varFrame
|
varFrame
|
||||||
));
|
));
|
||||||
} else {
|
} else {
|
||||||
procs.push(stage.threads.startProcess(
|
procs.push(this.stage.threads.startProcess(
|
||||||
block,
|
block,
|
||||||
morph,
|
morph,
|
||||||
stage.isThreadSafe
|
this.stage.isThreadSafe
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue