mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-08 17:45:46 +01:00
Messily tag NEWS page with more explicit version info.
--HG-- branch : key-processing
This commit is contained in:
@@ -613,6 +613,9 @@ var ConfigBase = Class("ConfigBase", {
|
||||
HelpString[delim]::before content: attr(delim);
|
||||
HelpString[delim]::after content: attr(delim);
|
||||
|
||||
HelpNews position: relative;
|
||||
HelpNewsOld opacity: .7;
|
||||
HelpNewsTag position: absolute; left: 100%; padding-left: 1em; color: #527BBD; opacity: .6;
|
||||
|
||||
HelpHead;html|h1,html|h2,html|h3,html|h4;dactyl://help/* {
|
||||
font-weight: bold;
|
||||
|
||||
@@ -1270,8 +1270,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
if (tokens)
|
||||
expr = String.replace(expr, /(\(?P)?<(\w+)>/g, function (m, n1, n2) !n1 && set.has(tokens, n2) ? tokens[n2].dactylSource || tokens[n2].source || tokens[n2] : m);
|
||||
|
||||
expr = String.replace(expr, /\/\/[^\n]*|\/\*[^]*?\*\//gm, "")
|
||||
.replace(/\s+/g, "");
|
||||
expr = String.replace(expr, /(\\.)|\/\/[^\n]*|\/\*[^]*?\*\/|\s+/gm, function (m, m1) m1 || "");
|
||||
|
||||
if (/\(\?P</.test(expr)) {
|
||||
var source = expr;
|
||||
|
||||
Reference in New Issue
Block a user