aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/maintenance/app.js
blob: cc7b016bef09e1704d609edc5a8eaef4578633eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
define([
  './main-view'
], function (MainView) {

  var App = new Marionette.Application();

  App.on('start', function (options) {
    var viewOptions = _.extend(options, {
      model: new Backbone.Model()
    });
    var mainView = new MainView(viewOptions);
    mainView.render().refresh();
  });

  return App;

});