1
0
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:
Kris Maglione
2010-12-25 05:46:11 -05:00
parent 5591ed6797
commit b24781c685
2 changed files with 26 additions and 15 deletions

View File

@@ -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;