From 2b78b63e1a0340aeada11ac02f8156c9f9c68b0d Mon Sep 17 00:00:00 2001 From: Nicolas Frattaroli Date: Fri, 8 Nov 2013 06:56:45 +0100 Subject: [PATCH] Fixed IE11 JS errors Closes issue #1022. Thanks to mattlee78 for pointing this out. --- overviewer_core/data/js_src/models.js | 6 +++--- overviewer_core/data/js_src/views.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/overviewer_core/data/js_src/models.js b/overviewer_core/data/js_src/models.js index 545cfae..930d36d 100644 --- a/overviewer_core/data/js_src/models.js +++ b/overviewer_core/data/js_src/models.js @@ -23,14 +23,14 @@ overviewer.models.WorldCollection = Backbone.Collection.extend({ */ overviewer.models.TileSetModel = Backbone.Model.extend({ defaults: { - markers: [] , + markers: [] }, initialize: function(attrs) { // this implies that the Worlds collection must be // initialized before any TIleSetModels are created attrs.world = overviewer.collections.worlds.get(attrs.world); this.set(attrs); - }, + } }); overviewer.models.TileSetCollection = Backbone.Collection.extend({ @@ -42,6 +42,6 @@ overviewer.models.GoogleMapModel = Backbone.Model.extend({ initialize: function(attrs) { attrs.currentWorldView = overviewer.collections.worldViews[0]; this.set(attrs); - }, + } }); diff --git a/overviewer_core/data/js_src/views.js b/overviewer_core/data/js_src/views.js index 746fd8e..9154bf5 100644 --- a/overviewer_core/data/js_src/views.js +++ b/overviewer_core/data/js_src/views.js @@ -49,7 +49,7 @@ overviewer.views.WorldView = Backbone.View.extend({ if (!tset.get("isOverlay")) { return; }; }); - }, + } }); @@ -544,7 +544,7 @@ overviewer.views.SignControlView = Backbone.View.extend({ itemDiv.appendChild(textNode); itemDiv.style.whiteSpace = "nowrap"; - }, + } }); /**