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 /bijin_clock.js | |
parent | 004f9e2fd284912c3b70401310e118493c7fa8d3 (diff) | |
parent | 8eb425bbdb21e37603603db84d444c90a2d30fb5 (diff) | |
download | vimperator-plugins-596ae3e9f228d34891f8e52225205e78371b4828.tar.bz2 |
Merge branch '3.6'
Diffstat (limited to 'bijin_clock.js')
-rw-r--r-- | bijin_clock.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bijin_clock.js b/bijin_clock.js index c6a068a..dd7e8a0 100644 --- a/bijin_clock.js +++ b/bijin_clock.js @@ -8,12 +8,12 @@ * == Stop == * js plugins.bijin_clock.stop() */ -let PLUGIN_INFO = +let PLUGIN_INFO = xml` <VimperatorPlugin> <name>{NAME}</name> <description>Bijin Clock - http://www.bijint.com</description> <version>0.1</version> -</VimperatorPlugin>; +</VimperatorPlugin>`; liberator.plugins.bijin_clock = (function(){ const BASE_URL = 'http://www.bijint.com/jp/img/photo/'; @@ -34,7 +34,7 @@ function showBijinClock(){ let image_src = BASE_URL + getTimeString(date) + ".jpg"; liberator.echomsg(date.toLocaleString(), 0); openDialog('data:application/vnd.mozilla.xul+xml;charset=utf-8,' + - <><?xml-stylesheet type="text/css" href="chrome://global/skin/"?> + `<?xml-stylesheet type="text/css" href="chrome://global/skin/"?> <?xml-stylesheet type="text/css" href="chrome://browser/skin/browser.css"?> <window title={TITLE} windowtype="alert:clock" @@ -74,7 +74,7 @@ function showBijinClock(){ </hbox> <image id="img" src={image_src} onload="init()" onerror="window.close()"/> </vbox> - </window></>.toXMLString(), + </window>`.toXMLString(), TITLE, 'chrome,dialog=yes,titlebar=no,popup=yes'); } |