summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui.js4
-rw-r--r--threads.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/gui.js b/gui.js
index 59d0de7..5e29316 100644
--- a/gui.js
+++ b/gui.js
@@ -4733,8 +4733,8 @@ ProjectDialogMorph.prototype.getExamplesProjectList = function () {
}
}
);
- projects.sort(function (x, y) {
- return x.name < y.name ? -1 : 1;
+ projects = projects.sort(function (x, y) {
+ return x.name.toLowerCase() < y.name.toLowerCase() ? -1 : 1;
});
return projects;
};
diff --git a/threads.js b/threads.js
index cd33a43..af899dc 100644
--- a/threads.js
+++ b/threads.js
@@ -339,7 +339,7 @@ ThreadManager.prototype.findProcess = function (block) {
*/
Process.prototype = {};
-Process.prototype.contructor = Process;
+Process.prototype.constructor = Process;
Process.prototype.timeout = 500; // msecs after which to force yield
Process.prototype.isCatchingErrors = true;