We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a128801 + 2c1172d commit aefd0bcCopy full SHA for aefd0bc
lib/less-browser/utils.js
@@ -13,7 +13,10 @@ module.exports = {
13
if (opt === "env" || opt === "dumpLineNumbers" || opt === "rootpath" || opt === "errorReporting") {
14
options[opt] = tag.dataset[opt];
15
} else {
16
- options[opt] = JSON.parse(tag.dataset[opt]);
+ try {
17
+ options[opt] = JSON.parse(tag.dataset[opt]);
18
+ }
19
+ catch(_) {}
20
}
21
22
0 commit comments