Merge pull request #805 from brollb/master

Fixed typo in Process definition
pull/3/merge
Jens Mönig 2015-06-25 15:37:55 +02:00
commit c8ef53f9a9
2 zmienionych plików z 3 dodań i 3 usunięć

4
gui.js
Wyświetl plik

@ -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;
};

Wyświetl plik

@ -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;