From c1f16f9ea23a6cc5b33f68712b6b675c792ee8cd Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 21 Jan 2015 12:07:03 +0100 Subject: [PATCH] Fix quality flaws --- server/sonar-web/src/main/js/nav/app.js | 2 +- server/sonar-web/src/main/js/nav/context-navbar-view.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/server/sonar-web/src/main/js/nav/app.js b/server/sonar-web/src/main/js/nav/app.js index 1f3722c3465..2eee602aab1 100644 --- a/server/sonar-web/src/main/js/nav/app.js +++ b/server/sonar-web/src/main/js/nav/app.js @@ -21,7 +21,7 @@ define([ app: App, el: $('.navbar-context'), collection: new Backbone.Collection(window.navbarContextMenu), - breadcrumbs: new Backbone.Collection(window.navbarBreadcrumbs), + breadcrumbs: new Backbone.Collection(window.navbarBreadcrumbs) }); this.contextNavbarView.render(); }); diff --git a/server/sonar-web/src/main/js/nav/context-navbar-view.js b/server/sonar-web/src/main/js/nav/context-navbar-view.js index ec6f39fedf7..534f08c7734 100644 --- a/server/sonar-web/src/main/js/nav/context-navbar-view.js +++ b/server/sonar-web/src/main/js/nav/context-navbar-view.js @@ -2,8 +2,6 @@ define([ 'templates/nav' ], function () { - var $ = jQuery; - return Marionette.ItemView.extend({ template: Templates['nav-context-navbar'], -- 2.39.5