aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/maintenance/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/maintenance/app.js')
-rw-r--r--server/sonar-web/src/main/js/apps/maintenance/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/maintenance/app.js b/server/sonar-web/src/main/js/apps/maintenance/app.js
index b184e907091..77f9db94568 100644
--- a/server/sonar-web/src/main/js/apps/maintenance/app.js
+++ b/server/sonar-web/src/main/js/apps/maintenance/app.js
@@ -22,15 +22,15 @@ import Backbone from 'backbone';
import Marionette from 'backbone.marionette';
import MainView from './main-view';
-var App = new Marionette.Application();
+const App = new Marionette.Application();
App.on('start', function () {
let options = window.sonarqube;
- var viewOptions = _.extend(options, {
+ const viewOptions = _.extend(options, {
model: new Backbone.Model()
});
- var mainView = new MainView(viewOptions);
+ const mainView = new MainView(viewOptions);
mainView.render().refresh();
});