diff options
author | anekos | 2014-01-13 01:06:14 +0900 |
---|---|---|
committer | anekos | 2014-01-13 01:06:14 +0900 |
commit | c550b8f4cc522063223884521785df5664f75666 (patch) | |
tree | 2f8508db7d63fb9ee6122f835fba92dcb8e1dbbb /erection.js | |
parent | bcac3af416bc43935e18a30ffa983ca173101c6b (diff) | |
download | vimperator-plugins-c550b8f4cc522063223884521785df5664f75666.tar.bz2 |
Heal ED
Diffstat (limited to 'erection.js')
-rw-r--r-- | erection.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/erection.js b/erection.js index b78182c..21bc908 100644 --- a/erection.js +++ b/erection.js @@ -217,7 +217,7 @@ let INFO = xml` ['c[opy]'], 'Copy text', makeErectionCommand(function (e) { - util.copyToClipboard(String(`{e.text} - {e.by} {e.from} {e.imageURL}`)); + util.copyToClipboard(String(`${e.text} - ${e.by} ${e.from} ${e.imageURL}`)); }), subOption ), @@ -227,9 +227,9 @@ let INFO = xml` makeErectionCommand(function (e) { liberator.echo(xml` <div style="height: 800px"> - <h1>{e.text}</h1> - <img src={e.imageURL} /> - <span>{e.by}</span> <span>{e.from}</span> + <h1>${e.text}</h1> + <img src=${e.imageURL} /> + <span>${e.by}</span> <span>${e.from}</span> </div> `); }), @@ -239,7 +239,7 @@ let INFO = xml` ['e[xcommand]'], 'Open command line with select erection', makeErectionCommand(function (e, args) { - let cmdArgs = String(`{e.text} - {e.by} {e.from} {e.imageURL}`); + let cmdArgs = String(`${e.text} - ${e.by} ${e.from} ${e.imageURL}`); setTimeout(function () commandline.open('', args[0] + ' ' + cmdArgs, modes.EX), 1); }), { |