aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/metrics/list-footer-view.js
diff options
context:
space:
mode:
authorStas Vilchik <stas-vilchik@users.noreply.github.com>2017-03-17 09:10:48 +0100
committerGitHub <noreply@github.com>2017-03-17 09:10:48 +0100
commitde4365079bad2df3bdee2133576dc913ffbf1ab2 (patch)
treea522ccb952f0d37f454e8188e13b3dec3f731912 /server/sonar-web/src/main/js/apps/metrics/list-footer-view.js
parent6a03df65cc0c91a26150ea172a2c480e07326ea1 (diff)
downloadsonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.tar.gz
sonarqube-de4365079bad2df3bdee2133576dc913ffbf1ab2.zip
format code using prettier (#1774)
Diffstat (limited to 'server/sonar-web/src/main/js/apps/metrics/list-footer-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/metrics/list-footer-view.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/metrics/list-footer-view.js b/server/sonar-web/src/main/js/apps/metrics/list-footer-view.js
index 7e1bf38ec06..686503801ec 100644
--- a/server/sonar-web/src/main/js/apps/metrics/list-footer-view.js
+++ b/server/sonar-web/src/main/js/apps/metrics/list-footer-view.js
@@ -24,23 +24,23 @@ export default Marionette.ItemView.extend({
template: Template,
collectionEvents: {
- 'all': 'render'
+ all: 'render'
},
events: {
'click #metrics-fetch-more': 'onMoreClick'
},
- onMoreClick (e) {
+ onMoreClick(e) {
e.preventDefault();
this.fetchMore();
},
- fetchMore () {
+ fetchMore() {
this.collection.fetchMore();
},
- serializeData () {
+ serializeData() {
return {
...Marionette.ItemView.prototype.serializeData.apply(this, arguments),
total: this.collection.total,
@@ -49,4 +49,3 @@ export default Marionette.ItemView.extend({
};
}
});
-