Skip to content

Commit

Permalink
Fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Dec 15, 2016
1 parent c8f5701 commit eafcf64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ app.service('savedVisualizations', function (Promise, es, kbnIndex, SavedVis, Pr
};

saveVisualizationLoader.urlFor = function (id) {
return kbnUrl.eval('#/visualize/edit/{{id}}', {id: id});
return kbnUrl.eval('#/visualize/edit/{{id}}', { id: id });
};

return saveVisualizationLoader;
Expand Down
2 changes: 1 addition & 1 deletion src/core_plugins/timelion/public/services/saved_sheets.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ define(function (require) {
module.service('savedSheets', function (Promise, SavedSheet, kbnIndex, es, kbnUrl) {
const savedSheetLoader = new SavedObjectLoader(SavedSheet, kbnIndex, es, kbnUrl);
savedSheetLoader.urlFor = function (id) {
return kbnUrl.eval('#/{{id}}', {id: id});
return kbnUrl.eval('#/{{id}}', { id: id });
};

// Customize loader properties since adding an 's' on type doesn't work for type 'timelion-sheet'.
Expand Down

0 comments on commit eafcf64

Please sign in to comment.