1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-21 03:47:58 +01:00

Start cleaning up Muttator documentation.

This commit is contained in:
Doug Kearns
2009-07-15 18:33:57 +10:00
parent f1ca259fac
commit f23fbf35e0
6 changed files with 144 additions and 72 deletions

View File

@@ -186,6 +186,24 @@ const config = { //{{{
liberator.loadModule("hints", Hints);
}
////////////////////////////////////////////////////////////////////////////////
////////////////////// STYLES //////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
let img = Image();
img.src = "chrome://muttator/content/logo.png";
img.onload = function () {
styles.addSheet(true, "logo", "chrome://liberator/locale/*",
".muttator-logo {" + <>
display: inline-block;
background: url({img.src});
width: {img.width}px;
height: {img.height}px;
</> + "}",
true);
delete img;
};
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// COMMANDS ////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{