summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui.js b/gui.js
index 592ddc5..1e140af 100644
--- a/gui.js
+++ b/gui.js
@@ -2079,7 +2079,7 @@ IDE_Morph.prototype.aboutSnap = function () {
+ '\nJoe Otto: Morphic Testing and Debugging';
for (module in modules) {
- if (modules.hasOwnProperty(module)) {
+ if (Object.prototype.hasOwnProperty.call(modules, module)) {
versions += ('\n' + module + ' (' +
modules[module] + ')');
}
@@ -3816,7 +3816,7 @@ ProjectDialogMorph.prototype.getLocalProjectList = function () {
var stored, name, dta,
projects = [];
for (stored in localStorage) {
- if (localStorage.hasOwnProperty(stored)
+ if (Object.prototype.hasOwnProperty.call(localStorage, stored)
&& stored.substr(0, 14) === '-snap-project-') {
name = stored.substr(14);
dta = {