mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 15:44:12 +01:00
Stagger loading of :style sheets to improve perceived startup time. Fix :mksyn bug.
This commit is contained in:
@@ -292,10 +292,10 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
|
||||
([^]*?) // 1
|
||||
(?:
|
||||
(<\[) | // 2
|
||||
(< (.*?) >) | // 3 4
|
||||
(< ((?:[a-z]-)?[a-z-]*?) >) | // 3 4
|
||||
(\]>) // 5
|
||||
)
|
||||
]]>, "gy");
|
||||
]]>, "giy");
|
||||
while (match = re.exec(macro)) {
|
||||
let [, prefix, open, full, macro, close] = match;
|
||||
end += match[0].length;
|
||||
|
||||
Reference in New Issue
Block a user