Skip to content

Commit

Permalink
Merge pull request #298 from mikelkew/deprecated-template-names
Browse files Browse the repository at this point in the history
Prevent deprecation warnings by removing template formats
  • Loading branch information
gsamokovarov authored Aug 19, 2020
2 parents 008e6c6 + a61dd15 commit eeaf847
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/web_console/templates/console.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,10 @@ Autocomplete.prototype.removeView = function() {
}

// HTML strings for dynamic elements.
var consoleInnerHtml = <%= render_inlined_string '_inner_console_markup.html' %>;
var promptBoxHtml = <%= render_inlined_string '_prompt_box_markup.html' %>;
var consoleInnerHtml = <%= render_inlined_string '_inner_console_markup' %>;
var promptBoxHtml = <%= render_inlined_string '_prompt_box_markup' %>;
// CSS
var consoleStyleCss = <%= render_inlined_string 'style.css' %>;
var consoleStyleCss = <%= render_inlined_string 'style' %>;
// Insert a style element with the unique ID
var styleElementId = 'sr02459pvbvrmhco';
// Nonce to use for CSP
Expand Down

0 comments on commit eeaf847

Please sign in to comment.