From: Stas Vilchik Date: Wed, 21 Jan 2015 11:07:03 +0000 (+0100) Subject: Fix quality flaws X-Git-Tag: latest-silver-master-#65~154 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c1f16f9ea23a6cc5b33f68712b6b675c792ee8cd;p=sonarqube.git Fix quality flaws --- 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'],