aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-06-25 16:12:14 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-06-25 16:12:14 +0200
commitbf1a44781135f8e7a9498bfdb052f952ce983151 (patch)
treea59651893eb8d3be2c94595169722a18bb965faa /server
parent5084395b0360e760fac3d8c128f6852a5ba707e6 (diff)
downloadsonarqube-bf1a44781135f8e7a9498bfdb052f952ce983151.tar.gz
sonarqube-bf1a44781135f8e7a9498bfdb052f952ce983151.zip
fix quality flaws
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/js/apps/api-documentation/layout.js2
-rw-r--r--server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js1
2 files changed, 0 insertions, 3 deletions
diff --git a/server/sonar-web/src/main/js/apps/api-documentation/layout.js b/server/sonar-web/src/main/js/apps/api-documentation/layout.js
index 773463f8728..67b30bb34b0 100644
--- a/server/sonar-web/src/main/js/apps/api-documentation/layout.js
+++ b/server/sonar-web/src/main/js/apps/api-documentation/layout.js
@@ -21,8 +21,6 @@ define([
'./templates'
], function () {
- var $ = jQuery;
-
return Marionette.LayoutView.extend({
template: Templates['api-documentation-layout'],
diff --git a/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js b/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js
index f23ee673dc5..0341d42b883 100644
--- a/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js
+++ b/server/sonar-web/src/main/js/components/source-viewer/measures-overlay.js
@@ -120,7 +120,6 @@ define([
measures = that.model.get('measures') || {};
measuresList.forEach(function (m) {
var metric = _.findWhere(metrics, { key: m.key });
- console.log(m.key, metric);
metric.value = m.frmt_val || m.data;
measures[m.key] = m.frmt_val || m.data;
measures[m.key + '_raw'] = m.val;