aboutsummaryrefslogtreecommitdiffstats
path: root/hateDAopener.js
diff options
context:
space:
mode:
authorteramako2013-04-10 22:14:28 +0900
committerteramako2013-04-10 22:14:28 +0900
commit596ae3e9f228d34891f8e52225205e78371b4828 (patch)
tree3e8338fb8c47c07be169a227a5112bab78b7ceba /hateDAopener.js
parent004f9e2fd284912c3b70401310e118493c7fa8d3 (diff)
parent8eb425bbdb21e37603603db84d444c90a2d30fb5 (diff)
downloadvimperator-plugins-596ae3e9f228d34891f8e52225205e78371b4828.tar.bz2
Merge branch '3.6'
Diffstat (limited to 'hateDAopener.js')
-rw-r--r--hateDAopener.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/hateDAopener.js b/hateDAopener.js
index 8e9864f..378ead1 100644
--- a/hateDAopener.js
+++ b/hateDAopener.js
@@ -31,7 +31,7 @@
// }}}
// PLUGIN INFO: {{{
-let PLUGIN_INFO =
+let PLUGIN_INFO = xml`
<VimperatorPlugin>
<name>{NAME}</name>
<description>Search specified Hatena::Diary</description>
@@ -84,7 +84,7 @@ let PLUGIN_INFO =
- APIを用意する
]]></detail>
-</VimperatorPlugin>;
+</VimperatorPlugin>`;
// }}}
plugins.hateDAopener = (function(){
@@ -258,13 +258,13 @@ plugins.hateDAopener = (function(){
* template: title & url
*/
function templateTitleAndUrl(item)
- <>
+ `
<img src={getFaviconURI(item.baseUrl + '/')} />
<span class="td-strut"/>{item.name}
<a href={item.text} highlight="simpleURL">
<span class="extra-info">{item.text.replace(/^https?:\/\//, '')}</span>
</a>
- </>;
+ `;
/**
* template: tags