aboutsummaryrefslogtreecommitdiffstats
path: root/longcat.js
diff options
context:
space:
mode:
authorteramako2013-04-10 22:14:28 +0900
committerteramako2013-04-10 22:14:28 +0900
commit596ae3e9f228d34891f8e52225205e78371b4828 (patch)
tree3e8338fb8c47c07be169a227a5112bab78b7ceba /longcat.js
parent004f9e2fd284912c3b70401310e118493c7fa8d3 (diff)
parent8eb425bbdb21e37603603db84d444c90a2d30fb5 (diff)
downloadvimperator-plugins-596ae3e9f228d34891f8e52225205e78371b4828.tar.bz2
Merge branch '3.6'
Diffstat (limited to 'longcat.js')
-rw-r--r--longcat.js13
1 files changed, 6 insertions, 7 deletions
diff --git a/longcat.js b/longcat.js
index 58b92e2..fde4c20 100644
--- a/longcat.js
+++ b/longcat.js
@@ -33,8 +33,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
}}} */
// INFO {{{
-let INFO =
-<>
+let INFO = xml`
<plugin name="longcat" version="1.0.0"
href="http://vimpr.github.com/"
summary="Longcat beautifies your life."
@@ -50,7 +49,7 @@ let INFO =
<description><p>Meow!</p></description>
</item>
</plugin>
-</>;
+`;
// }}}
@@ -195,7 +194,7 @@ let INFO =
let canvas = doc.createElement('canvas');
let bg = doc.createElement('div');
- canvas.setAttribute('style', String(<><![CDATA[
+ canvas.setAttribute('style', String(`<![CDATA[
position: absolute; !important;
top: 0px !important;
background-color: black !important;
@@ -203,9 +202,9 @@ let INFO =
right: 0;
left: 0;
z-index: 666;
- ]]></>));
+ ]]>`));
- bg.setAttribute('style', String(<><![CDATA[
+ bg.setAttribute('style', String(`<![CDATA[
position: fixed; !important;
top: 0px;
left: 0px;
@@ -213,7 +212,7 @@ let INFO =
width: 100%;
height: 100%;
z-index: 616;
- ]]></>));
+ ]]>`));
canvas.width = 114;
canvas.height = 100 + n * 100 + 30;