From 8342c06e274333910fd97a92dd44cecfe8494511 Mon Sep 17 00:00:00 2001 From: Nathan Dinsmore Date: Mon, 15 Apr 2013 20:29:03 -0400 Subject: Fixed #47 --- gui.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gui.js') diff --git a/gui.js b/gui.js index d4320f2..e0c5659 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] + ')'); } @@ -3814,7 +3814,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 = { -- cgit v1.3.1