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:
@@ -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);
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user