diff options
| author | Nathan Dinsmore <queryselector@gmail.com> | 2013-04-15 20:29:03 -0400 |
|---|---|---|
| committer | Nathan Dinsmore <queryselector@gmail.com> | 2013-04-15 21:06:44 -0400 |
| commit | 8342c06e274333910fd97a92dd44cecfe8494511 (patch) | |
| tree | 4189c61cb13c21c50c13acdda6eaf78afbf5a0ae /gui.js | |
| parent | 15718f44a30a022a5f45001f3fd2d506da504ff1 (diff) | |
| download | snap-byow-8342c06e274333910fd97a92dd44cecfe8494511.tar.gz snap-byow-8342c06e274333910fd97a92dd44cecfe8494511.zip | |
Fixed #47
Diffstat (limited to 'gui.js')
| -rw-r--r-- | gui.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 = { |
