Changed functions to arrow functions for only-arrow-functions rule. (#13131)

This commit is contained in:
Patrick O'Carroll
2018-09-05 07:47:30 +02:00
committed by Torkel Ödegaard
parent 7c88436a9b
commit 72ab24f300
50 changed files with 367 additions and 367 deletions

View File

@@ -21,7 +21,7 @@ function grafanaRoutes($routeProvider) {
.when('/playlists/play/:id', {
template: '',
resolve: {
init: function(playlistSrv, $route) {
init: (playlistSrv, $route) => {
const playlistId = $route.current.params.id;
playlistSrv.start(playlistId);
},