Commit 3bdd0062 by Patrick O'Carroll

changed var to const

parent 2a50bc35
...@@ -5,10 +5,10 @@ import rst2html from 'rst2html'; ...@@ -5,10 +5,10 @@ import rst2html from 'rst2html';
import Drop from 'tether-drop'; import Drop from 'tether-drop';
export function graphiteAddFunc($compile) { export function graphiteAddFunc($compile) {
var inputTemplate = const inputTemplate =
'<input type="text"' + ' class="gf-form-input"' + ' spellcheck="false" style="display:none"></input>'; '<input type="text"' + ' class="gf-form-input"' + ' spellcheck="false" style="display:none"></input>';
var buttonTemplate = const buttonTemplate =
'<a class="gf-form-label query-part dropdown-toggle"' + '<a class="gf-form-label query-part dropdown-toggle"' +
' tabindex="1" gf-dropdown="functionMenu" data-toggle="dropdown">' + ' tabindex="1" gf-dropdown="functionMenu" data-toggle="dropdown">' +
'<i class="fa fa-plus"></i></a>'; '<i class="fa fa-plus"></i></a>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment