mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 18: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);
|
return fakeChannel(orig);
|
||||||
|
|
||||||
if (typeof url === "function")
|
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))
|
if (isArray(url))
|
||||||
return let ([type, data] = url) StringChannel(data, type, orig);
|
return let ([type, data] = url) StringChannel(data, type, orig);
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ update(Sheet.prototype, {
|
|||||||
: "domain")
|
: "domain")
|
||||||
+ '("' + part.replace(/"/g, "%22").replace(/\*$/, "") + '")')
|
+ '("' + part.replace(/"/g, "%22").replace(/\*$/, "") + '")')
|
||||||
.join(", ");
|
.join(", ");
|
||||||
return "/* Dactyl style #" + this.id + (this.agent ? " (agent)" : "") + " */ "
|
return "/* " + this.uri + (this.agent ? " (agent)" : "") + " */\n"
|
||||||
+ namespace + " @-moz-document " + selectors + "{\n" + css + "\n}\n";
|
+ namespace + " @-moz-document " + selectors + "{\n" + css + "\n}\n";
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user