aboutsummaryrefslogtreecommitdiffstats
path: root/my-style.js
diff options
context:
space:
mode:
authorteramako2013-04-10 22:14:28 +0900
committerteramako2013-04-10 22:14:28 +0900
commit596ae3e9f228d34891f8e52225205e78371b4828 (patch)
tree3e8338fb8c47c07be169a227a5112bab78b7ceba /my-style.js
parent004f9e2fd284912c3b70401310e118493c7fa8d3 (diff)
parent8eb425bbdb21e37603603db84d444c90a2d30fb5 (diff)
downloadvimperator-plugins-596ae3e9f228d34891f8e52225205e78371b4828.tar.bz2
Merge branch '3.6'
Diffstat (limited to 'my-style.js')
-rw-r--r--my-style.js17
1 files changed, 8 insertions, 9 deletions
diff --git a/my-style.js b/my-style.js
index 2ae6098..6d69312 100644
--- a/my-style.js
+++ b/my-style.js
@@ -33,8 +33,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
}}} */
// INFO {{{
-let INFO =
-<>
+let INFO = xml`
<plugin name="MyStyle" version="1.0.0"
href="http://vimpr.github.com/"
summary="Apply my style sheet to current page."
@@ -121,7 +120,7 @@ EOM
</description>
</item>
</plugin>
-</>;
+`;
// }}}
(function () {
@@ -129,14 +128,14 @@ EOM
const StyleNamePrefix = 'my-style-';
const DefaultDefinedStyle = {
- BLACKBOARD: <><![CDATA[
+ BLACKBOARD: `<![CDATA[
* {
color: white !important;
background-color: #004040 !important;
background-image: none !important;
}
- ]]></>,
- NEKOME: <><![CDATA[
+ ]]>`,
+ NEKOME: `<![CDATA[
body {
background-image: url(http://snca.net/images/redeye.jpg) !important;
}
@@ -144,15 +143,15 @@ EOM
background: transparent !important;
color: white !important;
}
- ]]></>,
- VIMPMASK: <><![CDATA[
+ ]]>`,
+ VIMPMASK: `<![CDATA[
body {
background-image: url(http://snca.net/images/ildjarn.png) !important;
background-repeat: no-repeat !important;
background-position: right bottom !important;
background-attachment: fixed !important;
}
- ]]></>
+ ]]>`
};
if (!__context__.DefinedStyles) {