diff --git a/frontend-js/src/main/js/Export.js b/frontend-js/src/main/js/Export.js index 3c096991c050ab9f310469d7a7e62ec72dc0943a..ee603b203e1665952909c620dd890a61ed4d6bd4 100644 --- a/frontend-js/src/main/js/Export.js +++ b/frontend-js/src/main/js/Export.js @@ -131,7 +131,7 @@ Export.prototype.addTab = function(params, navElement, contentElement) { this._panels.push(new params.panelClass({ element : contentDiv, project : self.getProject(), - configuration : self.getConfiguration(), + configuration : self.getConfiguration() })); }; diff --git a/frontend-js/src/main/js/ObjectWithListeners.js b/frontend-js/src/main/js/ObjectWithListeners.js index b1d55eb85535c79cf8feddec5f484a0f5ce0b815..633390bd4eff7dae5921512606b660f10e4d9083 100644 --- a/frontend-js/src/main/js/ObjectWithListeners.js +++ b/frontend-js/src/main/js/ObjectWithListeners.js @@ -200,7 +200,7 @@ ObjectWithListeners.prototype.firePropertyChangeListener = function (propertyNam propertyName: propertyName, object: self, oldVal: oldValue, - newVal: newValue, + newVal: newValue }; promises.push(listenerList[i](e)); } diff --git a/frontend-js/src/main/js/SessionObjectType.js b/frontend-js/src/main/js/SessionObjectType.js index 1464e5b946d5b07b2aa5d10b7a9a21d19d65da08..6240a50fff5210bfaf92ec6b7466e4f9aa2fc9d6 100644 --- a/frontend-js/src/main/js/SessionObjectType.js +++ b/frontend-js/src/main/js/SessionObjectType.js @@ -13,7 +13,7 @@ var SessionObjectType = { ZOOM_LEVEL : "ZOOM_LEVEL", TOKEN: "MINERVA_AUTH_TOKEN", - LOGIN: "LOGIN", + LOGIN: "LOGIN" }; module.exports = SessionObjectType; diff --git a/frontend-js/src/main/js/gui/Panel.js b/frontend-js/src/main/js/gui/Panel.js index 72f249938fe325b709cb564671df928395611632..e58b7684dab9563de6037da12b6ba7c076d693f9 100644 --- a/frontend-js/src/main/js/gui/Panel.js +++ b/frontend-js/src/main/js/gui/Panel.js @@ -208,7 +208,7 @@ Panel.prototype.openDialog = function (content, options) { contentDiv.style.display = "none"; $(this).dialog('destroy'); }, - dialogClass: options.className, + dialogClass: options.className }); this.assignDialogOptions(div, options); diff --git a/frontend-js/src/main/js/gui/PanelControlElementType.js b/frontend-js/src/main/js/gui/PanelControlElementType.js index 6b2347f96d4f2346a328c7003459b665380a0e32..dd7610f6830145ebee9d41cc7f9e0c973af60bcd 100644 --- a/frontend-js/src/main/js/gui/PanelControlElementType.js +++ b/frontend-js/src/main/js/gui/PanelControlElementType.js @@ -54,7 +54,7 @@ var PanelControlElementType = { MENU_SHOW_OVERVIEW_BUTTON : "MENU_SHOW_OVERVIEW_BUTTON", MENU_VERSION_DIV : "MENU_VERSION_DIV", - FOOTER_LOADING_DIV : "FOOTER_LOADING_DIV", + FOOTER_LOADING_DIV : "FOOTER_LOADING_DIV" }; module.exports = PanelControlElementType; diff --git a/frontend-js/src/main/js/gui/export/AbstractExportPanel.js b/frontend-js/src/main/js/gui/export/AbstractExportPanel.js index 8f9b0beb4bc8c68a36892bc52fb36e1a3316fb1a..d18f91310c421d3350a7b9e44e19123f6639fe51 100644 --- a/frontend-js/src/main/js/gui/export/AbstractExportPanel.js +++ b/frontend-js/src/main/js/gui/export/AbstractExportPanel.js @@ -98,7 +98,7 @@ AbstractExportPanel.prototype._createSelectTypeDiv = function (elementTypes) { }); typeDiv.appendChild(Functions.createElement({ type: "h4", - content: " TYPE:", + content: " TYPE:" })); var choicesContainer = Functions.createElement({ type: "ul", diff --git a/frontend-js/src/main/js/gui/export/ElementExportPanel.js b/frontend-js/src/main/js/gui/export/ElementExportPanel.js index 49da37b8b19148a168f8022628b0e1872825054c..2d0c3028e9ba97c227f248d7ab5ee0ee3f58d0b6 100644 --- a/frontend-js/src/main/js/gui/export/ElementExportPanel.js +++ b/frontend-js/src/main/js/gui/export/ElementExportPanel.js @@ -73,7 +73,7 @@ ElementExportPanel.prototype.createResponseString = function () { type: types, complete: true, includedCompartmentIds: includedCompartmentIds, - excludedCompartmentIds: excludedCompartmentIds, + excludedCompartmentIds: excludedCompartmentIds })); } return Promise.all(promises); diff --git a/frontend-js/src/main/js/gui/export/NetworkExportPanel.js b/frontend-js/src/main/js/gui/export/NetworkExportPanel.js index 620f8daeb73cf6c9f612e99b2711ec58aa57fac1..d34f0b40a9b60d9e9e6368ae5e63b0cd9bcb718e 100644 --- a/frontend-js/src/main/js/gui/export/NetworkExportPanel.js +++ b/frontend-js/src/main/js/gui/export/NetworkExportPanel.js @@ -179,7 +179,7 @@ NetworkExportPanel.prototype.createResponseString = function () { type: types, complete: true, includedCompartmentIds: includedCompartmentIds, - excludedCompartmentIds: excludedCompartmentIds, + excludedCompartmentIds: excludedCompartmentIds })); } return Promise.all(promises); diff --git a/frontend-js/src/main/js/gui/leftPanel/LeftPanel.js b/frontend-js/src/main/js/gui/leftPanel/LeftPanel.js index 4780f4d656c2fe196ac6cf8db83b15c98545b1a6..5f89246359f276d7c4be3f500d0b11ebcf435a11 100644 --- a/frontend-js/src/main/js/gui/leftPanel/LeftPanel.js +++ b/frontend-js/src/main/js/gui/leftPanel/LeftPanel.js @@ -45,7 +45,7 @@ LeftPanel.prototype._createPanelGui = function () { var header = new Header({ element: headerDiv, customMap: self.getMap(), - optionsMenu: true, + optionsMenu: true }); self.getElement().appendChild(headerDiv); diff --git a/frontend-js/src/main/js/gui/leftPanel/ProjectInfoPanel.js b/frontend-js/src/main/js/gui/leftPanel/ProjectInfoPanel.js index 149d2c9c58fc2d9e21c72356792c922e8cb2b2bd..c981bc420c36799ea77e938bce6b771e01d811ee 100644 --- a/frontend-js/src/main/js/gui/leftPanel/ProjectInfoPanel.js +++ b/frontend-js/src/main/js/gui/leftPanel/ProjectInfoPanel.js @@ -89,23 +89,23 @@ ProjectInfoPanel.prototype._createInfoPanelGui = function () { infoDiv.appendChild(infoTitle); var dialogDiv = Functions.createElement({ - type: "div", + type: "div" }); this.publicationListDialog = new PublicationListDialog({ customMap: self.getMap(), - element: dialogDiv, + element: dialogDiv }); dataTab = Functions.createElement({ - type: "ul", + type: "ul" }); infoDiv.appendChild(dataTab); var projectPublicationsText = Functions.createElement({ type: "span", name: "projectPublicationsText", - style: "font-family:FontAwesome; font-weight: normal;font-style: normal;cursor: pointer", + style: "font-family:FontAwesome; font-weight: normal;font-style: normal;cursor: pointer" }); this.setControlElement(PanelControlElementType.INFO_PROJECT_PUBLICATIONS_TEXT, projectPublicationsText); diff --git a/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js b/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js index 1ff214195907236a9a830b04f52a3cc4cb391300..5f757ba484fe2ad422fa20bfe22f2ac035116678 100644 --- a/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js +++ b/frontend-js/src/main/js/gui/leftPanel/PublicationListDialog.js @@ -134,7 +134,7 @@ PublicationListDialog.prototype.show = function () { autoOpen: false, resizable: false, width: Math.max(window.innerWidth / 2, window.innerWidth - 100), - height: Math.max(window.innerHeight / 2, window.innerHeight - 100), + height: Math.max(window.innerHeight / 2, window.innerHeight - 100) }); } diff --git a/frontend-js/src/main/js/gui/topMenu/TopMenu.js b/frontend-js/src/main/js/gui/topMenu/TopMenu.js index 84bd3d05aebd139fed300a3213f126ad416e5931..a38f9a6abf86b758a1f81c8581839dc2c677310c 100644 --- a/frontend-js/src/main/js/gui/topMenu/TopMenu.js +++ b/frontend-js/src/main/js/gui/topMenu/TopMenu.js @@ -41,7 +41,7 @@ TopMenu.prototype._createGui = function () { var hideButton = Functions.createElement({ type: "button", className: "headerHideButton", - name: "hideButton", + name: "hideButton" }); hideButtonDiv.appendChild(hideButton); self.setControlElement(PanelControlElementType.MENU_HIDE_LEFT_PANEL_BUTTON, hideButton); @@ -49,7 +49,7 @@ TopMenu.prototype._createGui = function () { var hideButtonIcon = Functions.createElement({ type: "i", className: "fa fa-chevron-left", - name: "hideButtonIcon", + name: "hideButtonIcon" }); hideButton.appendChild(hideButtonIcon); self.setControlElement(PanelControlElementType.MENU_HIDE_LEFT_PANEL_BUTTON_ICON, hideButtonIcon); diff --git a/frontend-js/src/main/js/map/data/MapModel.js b/frontend-js/src/main/js/map/data/MapModel.js index 7f004481f5f40f18e751acd79fdbd81dbd0c80e8..493b92847d18420fffb6e518578d91f6965bf996 100644 --- a/frontend-js/src/main/js/map/data/MapModel.js +++ b/frontend-js/src/main/js/map/data/MapModel.js @@ -83,7 +83,7 @@ MapModel.prototype.getAliases = function (params) { type: params.type, modelId: self.getId(), includedCompartmentIds: params.includedCompartmentIds, - excludedCompartmentIds: params.excludedCompartmentIds, + excludedCompartmentIds: params.excludedCompartmentIds }).then(function (lightAliases) { var identifiedElements = []; diff --git a/frontend-js/src/main/js/map/overlay/UserDbOverlay.js b/frontend-js/src/main/js/map/overlay/UserDbOverlay.js index c78b6c3aace33c669d1b13fe59ac779fceb186f3..f8298eab0302c99b85c5add04a166297ad08594f 100644 --- a/frontend-js/src/main/js/map/overlay/UserDbOverlay.js +++ b/frontend-js/src/main/js/map/overlay/UserDbOverlay.js @@ -124,7 +124,7 @@ UserDbOverlay.prototype.addSurface = function (params) { self.enableAddRemoveElements(); return self.callListeners("onSearch", { fitBounds: false, - identifiedElements: elements, + identifiedElements: elements }); }).then(null, function (error) { self.enableAddRemoveElements(); @@ -151,7 +151,7 @@ UserDbOverlay.prototype.removeMarker = function (params) { self.enableAddRemoveElements(); return self.callListeners("onSearch", { fitBounds: false, - identifiedElements: elements, + identifiedElements: elements }); }).then(null, function (error) { self.enableAddRemoveElements(); @@ -177,7 +177,7 @@ UserDbOverlay.prototype.removeSurface = function (params) { self.enableAddRemoveElements(); return self.callListeners("onSearch", { fitBounds: false, - identifiedElements: elements, + identifiedElements: elements }); }).then(null, function (error) { self.enableAddRemoveElements(); @@ -241,7 +241,7 @@ UserDbOverlay.prototype.clear = function () { }; return self.callListeners("onSearch", { fitBounds: false, - identifiedElements: [], + identifiedElements: [] }); };