kopia lustrzana https://github.com/backface/turtlestitch
changed api "processes" method to "isRunning"
rodzic
435966266a
commit
84fbdec280
|
@ -64,6 +64,7 @@
|
||||||
|
|
||||||
### 2021-11-17
|
### 2021-11-17
|
||||||
* gui: set the green-flag button's background color to "active" while a thread is running
|
* gui: set the green-flag button's background color to "active" while a thread is running
|
||||||
|
* api: changed "processes" method to "isRunning"
|
||||||
|
|
||||||
### 2021-11-16
|
### 2021-11-16
|
||||||
* store, gui: updated serializer app tag to v7
|
* store, gui: updated serializer app tag to v7
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
<script src="src/store.js?version=2021-11-16"></script>
|
<script src="src/store.js?version=2021-11-16"></script>
|
||||||
<script src="src/locale.js?version=2021-11-15"></script>
|
<script src="src/locale.js?version=2021-11-15"></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-16"></script>
|
<script src="src/api.js?version=2021-11-17"></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>
|
||||||
|
|
|
@ -46,7 +46,7 @@ detect*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.api = '2021-November-16';
|
modules.api = '2021-November-17';
|
||||||
|
|
||||||
// IDE_Morph external communication API - experimental
|
// IDE_Morph external communication API - experimental
|
||||||
/*
|
/*
|
||||||
|
@ -87,9 +87,9 @@ IDE_Morph.prototype.switchTo = function (sceneName) {
|
||||||
this.switchToScene(scene);
|
this.switchToScene(scene);
|
||||||
};
|
};
|
||||||
|
|
||||||
IDE_Morph.prototype.processes = function () {
|
IDE_Morph.prototype.isRunning = function () {
|
||||||
// return the number of currently running scripts in the active scene
|
// return true if the active scene is currently running a script
|
||||||
return this.stage.threads.processes.length;
|
return this.stage.threads.processes.length > 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
IDE_Morph.prototype.stop = function () {
|
IDE_Morph.prototype.stop = function () {
|
||||||
|
|
Ładowanie…
Reference in New Issue