diff options
author | anekos | 2013-04-07 12:09:59 +0900 |
---|---|---|
committer | anekos | 2013-04-07 12:09:59 +0900 |
commit | 27808e83be05aac27880d2e06bd8d593f4961a94 (patch) | |
tree | 4de0b39dd2c7f7c746dbde388341bdee77c9ae47 /memo.js | |
parent | 37f3071e579fbe36deaf17c2513a6619707eab45 (diff) | |
download | vimperator-plugins-27808e83be05aac27880d2e06bd8d593f4961a94.tar.bz2 |
Fix いいいぃいぃぃぃぃいぃぃふぉおおおおおおうううううえっっっっっっくす!!!
Diffstat (limited to 'memo.js')
-rw-r--r-- | memo.js | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -122,9 +122,9 @@ let PLUGIN_INFO = xml` if (arg.literalArg) { puts(arg.literalArg); } else { - let out = ``; + let out = xml``; gets().split(/\n/).reverse().forEach(function (l) { - out += <li>{l}</li> + out += xml`<li>${l}</li>`; }); liberator.echo(out); } @@ -142,16 +142,16 @@ let PLUGIN_INFO = xml` let desc = item[1] || this.process[1].call(this, item, item.description); if (item.description && item.description.length) { - return <div highlight={highlightGroup || "CompItem"} style="white-space: nowrap"> + return xml`<div highlight=${highlightGroup || "CompItem"} style="white-space: nowrap"> <li highlight="CompDesc"> - {item.description} + ${item.description} </li> - </div>; + </div>`; } - return <div highlight={highlightGroup || "CompItem"} style="white-space: nowrap"> - <li highlight="CompDesc">{item[0]} </li> - </div>; + return xml`<div highlight=${highlightGroup || "CompItem"} style="white-space: nowrap"> + <li highlight="CompDesc">${item[0]} </li> + </div>`; }; context.filters = [function (item) this.match(item.description)]; |