From a363d81b7314bd41fba5ea15b2ff432a9bc83dad Mon Sep 17 00:00:00 2001 From: Dannon Baker Date: Mon, 11 Dec 2017 11:17:45 -0500 Subject: [PATCH] Rerun new version of prettier. --- .../galaxy.interactive_environments.js | 8 +--- client/galaxy/scripts/galaxy.pages.js | 6 +-- client/galaxy/scripts/layout/modal.js | 6 +-- .../galaxy/scripts/mvc/grid/grid-template.js | 46 +++++-------------- client/galaxy/scripts/mvc/history/hdca-li.js | 4 +- .../mvc/library/library-foldertoolbar-view.js | 20 ++++---- .../mvc/library/library-library-view.js | 6 +-- client/galaxy/scripts/mvc/tool/tool-form.js | 4 +- .../scripts/mvc/workflow/workflow-canvas.js | 5 +- .../scripts/mvc/workflow/workflow-manager.js | 4 +- .../scripts/mvc/workflow/workflow-view.js | 8 +--- .../galaxy/scripts/mvc/workflow/workflow.js | 8 +--- 12 files changed, 38 insertions(+), 87 deletions(-) diff --git a/client/galaxy/scripts/galaxy.interactive_environments.js b/client/galaxy/scripts/galaxy.interactive_environments.js index 19f41e02f54..e17b3a62835 100644 --- a/client/galaxy/scripts/galaxy.interactive_environments.js +++ b/client/galaxy/scripts/galaxy.interactive_environments.js @@ -6,9 +6,7 @@ export function append_notebook(url) { clear_main_area(); $("#main").append( - `` + `` ); } @@ -21,9 +19,7 @@ export function clear_main_area() { export function display_spinner() { $("#main").append( - `` + `` ); } diff --git a/client/galaxy/scripts/galaxy.pages.js b/client/galaxy/scripts/galaxy.pages.js index 9d16e88e5dd..ed673e70037 100644 --- a/client/galaxy/scripts/galaxy.pages.js +++ b/client/galaxy/scripts/galaxy.pages.js @@ -154,11 +154,7 @@ WYMeditor.editor.prototype.dialog = function(dialogType, dialogFeatures, bodyHtm } show_modal( "Create Link", - `


`, + `


`, { "Make link": function() { // Get URL, name/title. diff --git a/client/galaxy/scripts/layout/modal.js b/client/galaxy/scripts/layout/modal.js index d359f59fef5..4f8120f29a7 100644 --- a/client/galaxy/scripts/layout/modal.js +++ b/client/galaxy/scripts/layout/modal.js @@ -154,9 +154,9 @@ function show_in_overlay(options) { closeButton: true, title: " ", body: $( - `
` + `
` ) }); modal.show({ backdrop: true }); diff --git a/client/galaxy/scripts/mvc/grid/grid-template.js b/client/galaxy/scripts/mvc/grid/grid-template.js index 5fafae695b1..5299ab1a87f 100644 --- a/client/galaxy/scripts/mvc/grid/grid-template.js +++ b/client/galaxy/scripts/mvc/grid/grid-template.js @@ -180,9 +180,7 @@ export default { if (options.operations.length !== 0) { tmpl += `
`; } - tmpl += `${value}`; + tmpl += `${value}`; if (options.operations.length !== 0) { tmpl += "
"; } @@ -262,21 +260,13 @@ export default { if (page_index == options.cur_page_num) { tmpl += `${page_index}`; } else { - tmpl += `${ - page_index - }`; + tmpl += `${page_index}`; } } // show last page if (max_page < num_pages) { - tmpl += `...${ - num_pages - }`; + tmpl += `...${num_pages}`; } tmpl += ""; @@ -386,9 +376,7 @@ export default { // // standard search // - var tmpl = `