kopia lustrzana https://github.com/backface/turtlestitch
removed some commented out code
rodzic
17c3ef22c4
commit
232c3e1eb4
|
@ -12,6 +12,9 @@
|
|||
* **Documentation Updates:**
|
||||
* **Translation Updates:**
|
||||
|
||||
### 2021-12-14
|
||||
* gui: removed some commented out code
|
||||
|
||||
### 2021-12-14
|
||||
* threads, lists: better support for multi-byte emojis with "split" and "unicode", thanks, Michael!
|
||||
* extensions: added support for Uni Oxford (Ken Kahn's) ecraft2learn extension
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<script src="src/threads.js?version=2021-12-15"></script>
|
||||
<script src="src/objects.js?version=2021-12-13"></script>
|
||||
<script src="src/scenes.js?version=2021-11-24"></script>
|
||||
<script src="src/gui.js?version=2021-12-14"></script>
|
||||
<script src="src/gui.js?version=2021-12-16"></script>
|
||||
<script src="src/paint.js?version=2021-07-05"></script>
|
||||
<script src="src/lists.js?version=2021-12-15"></script>
|
||||
<script src="src/byob.js?version=2021-11-23"></script>
|
||||
|
|
19
src/gui.js
19
src/gui.js
|
@ -86,7 +86,7 @@ BlockVisibilityDialogMorph, ThreadManager*/
|
|||
|
||||
// Global stuff ////////////////////////////////////////////////////////
|
||||
|
||||
modules.gui = '2021-December-14';
|
||||
modules.gui = '2021-December-16';
|
||||
|
||||
// Declarations
|
||||
|
||||
|
@ -3506,23 +3506,6 @@ IDE_Morph.prototype.newSceneName = function (name, ignoredScene) {
|
|||
return this.newName(sName, all);
|
||||
};
|
||||
|
||||
|
||||
/* // nicer version, commented out because some teachers
|
||||
// require parens in project names. Sigh.
|
||||
IDE_Morph.prototype.newName = function (name, elements) {
|
||||
var ix = name.indexOf('('),
|
||||
stem = (ix < 0) ? name : name.substring(0, ix),
|
||||
count = 1,
|
||||
newName = stem;
|
||||
|
||||
while (contains(elements, newName)) {
|
||||
count += 1;
|
||||
newName = stem + '(' + count + ')';
|
||||
}
|
||||
return newName;
|
||||
};
|
||||
*/
|
||||
|
||||
IDE_Morph.prototype.newName = function (name, elements) {
|
||||
var count = 1,
|
||||
newName = name;
|
||||
|
|
Ładowanie…
Reference in New Issue