diff options
author | teramako | 2013-04-10 22:14:28 +0900 |
---|---|---|
committer | teramako | 2013-04-10 22:14:28 +0900 |
commit | 596ae3e9f228d34891f8e52225205e78371b4828 (patch) | |
tree | 3e8338fb8c47c07be169a227a5112bab78b7ceba /pino.js | |
parent | 004f9e2fd284912c3b70401310e118493c7fa8d3 (diff) | |
parent | 8eb425bbdb21e37603603db84d444c90a2d30fb5 (diff) | |
download | vimperator-plugins-596ae3e9f228d34891f8e52225205e78371b4828.tar.bz2 |
Merge branch '3.6'
Diffstat (limited to 'pino.js')
-rw-r--r-- | pino.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -30,7 +30,7 @@ // // }}} // PLUGIN INFO: {{{ -var PLUGIN_INFO = +var PLUGIN_INFO = xml` <VimperatorPlugin> <name>{NAME}</name> <description>Open livedoor Reader pinned items</description> @@ -142,7 +142,7 @@ var PLUGIN_INFO = linkに該当するピンを一覧から削除する。 ]]></detail> -</VimperatorPlugin>; +</VimperatorPlugin>`; // }}} let self = liberator.plugins.pino = (function() { // COMMAND /////////////////////////////////////////////////////// {{{ @@ -159,13 +159,13 @@ let self = liberator.plugins.pino = (function() { if (args["-list"]) { //let items = pins.items(); - let list = <div>{items.length} items. + let list = xml`<div>{items.length} items. <ul>{ [<li><a href={i.link}>{i.title}</a><br/></li> for each (i in items) ].reduce(function(a, b) a + b) }</ul> - </div>; + </div>`; liberator.echo(list, commandline.FORCE_MULTILINE); return; } |