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 8fc12e1 + aefd0bc commit 94a6501Copy full SHA for 94a6501
.travis.yml
@@ -5,7 +5,6 @@ node_js:
5
install:
6
- npm install -g grunt-cli
7
- npm install
8
-env:
9
env:
10
global:
11
- secure: TrNVruWYaUK5ALga1y7wRY+MLjWJECUSCsBmKW5EUmIevOUxqHWu7M89FANKxstEeFRRAGH3QJbloRxnzIgh0U0ah5npE9XA1bYXGO5khoXeIyk7pNRfjIo8aEnJH1Vp8vWA6J6ovxdJ7lCFKEGvGKxGde50knVl7KFVVULlX2U=
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