aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/update-center
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-04-05 11:46:02 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-04-05 11:46:02 +0200
commit0bac18d71ccd2504254cd82c89ea208320a5fb30 (patch)
tree1a5c465a5411469833a612f0893f2de907997682 /server/sonar-web/src/main/js/apps/update-center
parent7c90d26047935985378a3aa0f26ee316acba59e1 (diff)
downloadsonarqube-0bac18d71ccd2504254cd82c89ea208320a5fb30.tar.gz
sonarqube-0bac18d71ccd2504254cd82c89ea208320a5fb30.zip
enforce js code style5.5-M14
Diffstat (limited to 'server/sonar-web/src/main/js/apps/update-center')
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/app.js1
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/controller.js1
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/footer-view.js1
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/header-view.js1
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/layout.js1
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/list-item-view.js2
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/list-view.js1
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js1
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/plugin.js1
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/plugins.js1
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/router.js1
-rw-r--r--server/sonar-web/src/main/js/apps/update-center/search-view.js1
12 files changed, 1 insertions, 12 deletions
diff --git a/server/sonar-web/src/main/js/apps/update-center/app.js b/server/sonar-web/src/main/js/apps/update-center/app.js
index 1e00828f263..3cf3adc9d38 100644
--- a/server/sonar-web/src/main/js/apps/update-center/app.js
+++ b/server/sonar-web/src/main/js/apps/update-center/app.js
@@ -80,4 +80,3 @@ App.on('start', function () {
window.sonarqube.appStarted.then(options => App.start(options));
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/controller.js b/server/sonar-web/src/main/js/apps/update-center/controller.js
index e7e091be69e..594cbb3299e 100644
--- a/server/sonar-web/src/main/js/apps/update-center/controller.js
+++ b/server/sonar-web/src/main/js/apps/update-center/controller.js
@@ -46,4 +46,3 @@ export default Marionette.Controller.extend({
}
});
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/footer-view.js b/server/sonar-web/src/main/js/apps/update-center/footer-view.js
index a96d7201040..72718dfaa5a 100644
--- a/server/sonar-web/src/main/js/apps/update-center/footer-view.js
+++ b/server/sonar-web/src/main/js/apps/update-center/footer-view.js
@@ -35,4 +35,3 @@ export default Marionette.ItemView.extend({
}
});
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/header-view.js b/server/sonar-web/src/main/js/apps/update-center/header-view.js
index c7d8f6b1a3a..48132dcdc1a 100644
--- a/server/sonar-web/src/main/js/apps/update-center/header-view.js
+++ b/server/sonar-web/src/main/js/apps/update-center/header-view.js
@@ -50,4 +50,3 @@ export default Marionette.ItemView.extend({
}
});
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/layout.js b/server/sonar-web/src/main/js/apps/update-center/layout.js
index 42e0d9c34ad..e69ef4bc87a 100644
--- a/server/sonar-web/src/main/js/apps/update-center/layout.js
+++ b/server/sonar-web/src/main/js/apps/update-center/layout.js
@@ -31,4 +31,3 @@ export default Marionette.LayoutView.extend({
}
});
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/list-item-view.js b/server/sonar-web/src/main/js/apps/update-center/list-item-view.js
index b264732859c..b5410acb05d 100644
--- a/server/sonar-web/src/main/js/apps/update-center/list-item-view.js
+++ b/server/sonar-web/src/main/js/apps/update-center/list-item-view.js
@@ -72,6 +72,7 @@ export default Marionette.ItemView.extend({
e.stopPropagation();
$('body').click();
const index = $(e.currentTarget).data('idx');
+
// if show changelog of update, show details of this update
// otherwise show changelog of the available release
const update = this.model.has('release') ? this.model.toJSON() : this.model.get('updates')[index];
@@ -114,4 +115,3 @@ export default Marionette.ItemView.extend({
}
});
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/list-view.js b/server/sonar-web/src/main/js/apps/update-center/list-view.js
index 31dc636adf7..1e4fe5023fa 100644
--- a/server/sonar-web/src/main/js/apps/update-center/list-view.js
+++ b/server/sonar-web/src/main/js/apps/update-center/list-view.js
@@ -25,4 +25,3 @@ export default Marionette.CollectionView.extend({
childView: ListItemView
});
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js b/server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js
index fd8e6c63306..4c9490a6e26 100644
--- a/server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js
+++ b/server/sonar-web/src/main/js/apps/update-center/plugin-changelog-view.js
@@ -44,4 +44,3 @@ export default Popup.extend({
}
});
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/plugin.js b/server/sonar-web/src/main/js/apps/update-center/plugin.js
index 3997e5c9a8f..de5b07b2655 100644
--- a/server/sonar-web/src/main/js/apps/update-center/plugin.js
+++ b/server/sonar-web/src/main/js/apps/update-center/plugin.js
@@ -87,4 +87,3 @@ export default Backbone.Model.extend({
}
});
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/plugins.js b/server/sonar-web/src/main/js/apps/update-center/plugins.js
index 94317555e5d..cb2d23b048e 100644
--- a/server/sonar-web/src/main/js/apps/update-center/plugins.js
+++ b/server/sonar-web/src/main/js/apps/update-center/plugins.js
@@ -221,4 +221,3 @@ const Plugins = Backbone.Collection.extend({
export default Plugins;
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/router.js b/server/sonar-web/src/main/js/apps/update-center/router.js
index 211f90e2b4b..c049d998f01 100644
--- a/server/sonar-web/src/main/js/apps/update-center/router.js
+++ b/server/sonar-web/src/main/js/apps/update-center/router.js
@@ -53,4 +53,3 @@ export default Backbone.Router.extend({
}
});
-
diff --git a/server/sonar-web/src/main/js/apps/update-center/search-view.js b/server/sonar-web/src/main/js/apps/update-center/search-view.js
index 90cfa892ce9..2cf558354a8 100644
--- a/server/sonar-web/src/main/js/apps/update-center/search-view.js
+++ b/server/sonar-web/src/main/js/apps/update-center/search-view.js
@@ -102,4 +102,3 @@ export default Marionette.ItemView.extend({
}
});
-