diff options
author | ninjatottori | 2013-04-06 20:29:22 -0700 |
---|---|---|
committer | ninjatottori | 2013-04-06 20:29:22 -0700 |
commit | f279e06196ea0a1fd3e85d65edc33d80a1f51e22 (patch) | |
tree | 0ee90290e20326eb61501a19f899365b9239162f | |
parent | 27808e83be05aac27880d2e06bd8d593f4961a94 (diff) | |
parent | e315a55b7a090e112bfa75177a120064be558efa (diff) | |
download | vimperator-plugins-f279e06196ea0a1fd3e85d65edc33d80a1f51e22.tar.bz2 |
Merge pull request #37 from fifnel/3.6
fix E4X for vimperator 3.6+
-rw-r--r-- | statusline-toolbar.js | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/statusline-toolbar.js b/statusline-toolbar.js index 069ef69..a5b4ce7 100644 --- a/statusline-toolbar.js +++ b/statusline-toolbar.js @@ -39,7 +39,8 @@ var updater = { } ], }; -var css = <css><![CDATA[ +var css = xml` +<css><![CDATA[ #liberator-customize-toolbar { border: none !important; min-width: 5px !important; @@ -49,18 +50,18 @@ var css = <css><![CDATA[ #liberator-customize-toolbar .statusbar-resizerpanel { display: none; } #liberator-customize-toolbar toolbarbutton { padding: 0 !important; } #status-bar { background-color: transparent !important; } -]]></css>.toString() + +]]></css>`.toString() + ({ - WINNT: <css></css>, - Linux: <css></css>, - Darwin: <css><![CDATA[ + WINNT: xml`<css></css>`, + Linux: xml`<css></css>`, + Darwin: xml`<css><![CDATA[ #liberator-customize-toolbar toolbarbutton { background: transparent !important; border: none !important; margin: 0 !important; padding: 0 !important; } - ]]></css> + ]]></css>` })[Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULRuntime).OS].toString(); function $(id) document.getElementById(id); |