mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 09:48:00 +01:00
Add help and NEWS entries for :bmark!
This commit is contained in:
@@ -115,10 +115,10 @@ liberator.Buffer = function () //{{{
|
||||
{
|
||||
if (filter[0] == "*")
|
||||
return "@namespace url(" + XHTML + ");\n" + css;
|
||||
let selectors = filter.map(function (part) (/\/$/.test(part) ? "url-prefix" :
|
||||
/\/:/.test(part) ? "url"
|
||||
: "domain")
|
||||
+ '("' + part.replace(/"/g, "%22") + '")')
|
||||
let selectors = filter.map(function (part) (/[*]$/.test(part) ? "url-prefix" :
|
||||
/[\/:]/.test(part) ? "url"
|
||||
: "domain")
|
||||
+ '("' + part.replace(/"/g, "%22").replace(/[*]$/, "") + '")')
|
||||
.join(", ");
|
||||
return "@namespace url(" + XHTML + ");\n" +
|
||||
"@-moz-document " + selectors + "{\n" + css + "\n}\n";
|
||||
|
||||
Reference in New Issue
Block a user