Fix 'const in strict mode' error in very old Chrome
This commit is contained in:
parent
c66ae794bc
commit
1156b3f989
|
@ -188,7 +188,7 @@ function fixBoolean(b) {
|
|||
return null;
|
||||
}
|
||||
|
||||
const namespacePattern = /^\s*(@namespace[^;]+;\s*)+$/;
|
||||
var namespacePattern = /^\s*(@namespace[^;]+;\s*)+$/;
|
||||
function getApplicableSections(style, url) {
|
||||
var sections = style.sections.filter(function(section) {
|
||||
return sectionAppliesToUrl(section, url);
|
||||
|
|
Loading…
Reference in New Issue
Block a user