origin commit 23d8e32
This commit is contained in:
Vendored
+2
-2
@@ -495,8 +495,8 @@ function I(t) {
|
||||
function z(t, e) {
|
||||
if (!t)
|
||||
return e;
|
||||
let i = JSON.stringify(window.pageBlocks), n = "\\.ID(.*?){(.*?)}";
|
||||
return t.match(new RegExp(n, "g")).forEach(function(s) {
|
||||
let i = JSON.stringify(window.pageBlocks), n = "\\.ID(.*?){(.*?)}", a = t.match(new RegExp(n, "g"));
|
||||
return a && a.forEach(function(s) {
|
||||
let l = s.split("{")[0], r = l.replace(".", " ").trim();
|
||||
e.indexOf(l) === -1 && i.indexOf(r) >= 0 && (e += s);
|
||||
}), e;
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
@@ -189,6 +189,9 @@
|
||||
let pageBlocksString = JSON.stringify(window.pageBlocks);
|
||||
let regex = "\\.ID(.*?){(.*?)}"
|
||||
let matches = existingCss.match(new RegExp(regex, 'g'));
|
||||
if (! matches) {
|
||||
return newCss;
|
||||
}
|
||||
matches.forEach(function(css) {
|
||||
let selector = css.split('{')[0];
|
||||
let pageBlocksStringSelector = selector.replace('.', ' ').trim();
|
||||
|
||||
Reference in New Issue
Block a user