';
}
elem.html(template);
diff --git a/public/app/features/org/partials/orgUsers.html b/public/app/features/org/partials/orgUsers.html
index 355131c2dbb..b54f8875f87 100644
--- a/public/app/features/org/partials/orgUsers.html
+++ b/public/app/features/org/partials/orgUsers.html
@@ -45,7 +45,7 @@
{{invite.email}}
{{invite.name}}
-
diff --git a/public/app/features/panel/panel_menu.js b/public/app/features/panel/panel_menu.js
index 3a1cda0acbe..30b61418d72 100644
--- a/public/app/features/panel/panel_menu.js
+++ b/public/app/features/panel/panel_menu.js
@@ -64,8 +64,7 @@ function (angular, $, _) {
}
function getExtendedMenu($scope) {
- var menu = angular.copy($scope.panelMeta.extendedMenu);
- return menu;
+ return angular.copy($scope.panelMeta.extendedMenu);
}
return {
diff --git a/public/app/panels/text/lib/showdown.js b/public/app/panels/text/lib/showdown.js
index 9493071ca68..0286b0598f1 100644
--- a/public/app/panels/text/lib/showdown.js
+++ b/public/app/panels/text/lib/showdown.js
@@ -855,7 +855,7 @@ var _DoLists = function(text) {
// Turn double returns into triple returns, so that we can make a
// paragraph for the last item in a list, if necessary:
- list = list.replace(/\n{2,}/g,"\n\n\n");;
+ list = list.replace(/\n{2,}/g,"\n\n\n");
var result = _ProcessListItems(list);
// Trim any trailing whitespace, to put the closing `$list_type>`
@@ -875,7 +875,7 @@ var _DoLists = function(text) {
var list_type = (m3.search(/[*+-]/g)>-1) ? "ul" : "ol";
// Turn double returns into triple returns, so that we can make a
// paragraph for the last item in a list, if necessary:
- var list = list.replace(/\n{2,}/g,"\n\n\n");;
+ list = list.replace(/\n{2,}/g,"\n\n\n");
var result = _ProcessListItems(list);
result = runup + "<"+list_type+">\n" + result + ""+list_type+">\n";
return result;
@@ -1451,4 +1451,4 @@ if (typeof define === 'function' && define.amd) {
define(function() {
return Showdown;
});
-}
\ No newline at end of file
+}
diff --git a/public/app/plugins/datasource/influxdb/query_builder.js b/public/app/plugins/datasource/influxdb/query_builder.js
index 9ab0953b576..b6b4ae0087c 100644
--- a/public/app/plugins/datasource/influxdb/query_builder.js
+++ b/public/app/plugins/datasource/influxdb/query_builder.js
@@ -161,8 +161,7 @@ function (_) {
};
p._modifyRawQuery = function () {
- var query = this.target.query.replace(";", "");
- return query;
+ return this.target.query.replace(";", "");
};
return InfluxQueryBuilder;
diff --git a/public/app/plugins/datasource/prometheus/datasource.js b/public/app/plugins/datasource/prometheus/datasource.js
index 2c9279cee96..509b0ce9970 100644
--- a/public/app/plugins/datasource/prometheus/datasource.js
+++ b/public/app/plugins/datasource/prometheus/datasource.js
@@ -111,11 +111,9 @@ function (angular, _, moment, dateMath) {
var url = '/api/v1/label/__name__/values';
return this._request('GET', url).then(function(result) {
- var suggestData = _.filter(result.data.data, function(metricName) {
- return metricName.indexOf(query) !== 1;
+ return _.filter(result.data.data, function (metricName) {
+ return metricName.indexOf(query) !== 1;
});
-
- return suggestData;
});
};