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 /my-style.js | |
parent | 004f9e2fd284912c3b70401310e118493c7fa8d3 (diff) | |
parent | 8eb425bbdb21e37603603db84d444c90a2d30fb5 (diff) | |
download | vimperator-plugins-596ae3e9f228d34891f8e52225205e78371b4828.tar.bz2 |
Merge branch '3.6'
Diffstat (limited to 'my-style.js')
-rw-r--r-- | my-style.js | 17 |
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) { |