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

Update leading comment in stylesheets.

This commit is contained in:
Kris Maglione
2011-02-02 11:18:21 -05:00
parent c9bdbe3391
commit a971e68ba6
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ function makeChannel(url, orig) {
return fakeChannel(orig);
if (typeof url === "function")
return let ([type, data] = url()) StringChannel(data, type, orig);
return let ([type, data] = url(orig)) StringChannel(data, type, orig);
if (isArray(url))
return let ([type, data] = url) StringChannel(data, type, orig);

View File

@@ -75,7 +75,7 @@ update(Sheet.prototype, {
: "domain")
+ '("' + part.replace(/"/g, "%22").replace(/\*$/, "") + '")')
.join(", ");
return "/* Dactyl style #" + this.id + (this.agent ? " (agent)" : "") + " */ "
return "/* " + this.uri + (this.agent ? " (agent)" : "") + " */\n"
+ namespace + " @-moz-document " + selectors + "{\n" + css + "\n}\n";
}
});