mirror of
https://github.com/less/less.js.git
synced 2026-02-07 21:45:08 -05:00
Merge branch 'master' of https://github.com/less/less.js
This commit is contained in:
@@ -5,7 +5,6 @@ node_js:
|
||||
install:
|
||||
- npm install -g grunt-cli
|
||||
- npm install
|
||||
env:
|
||||
env:
|
||||
global:
|
||||
- secure: TrNVruWYaUK5ALga1y7wRY+MLjWJECUSCsBmKW5EUmIevOUxqHWu7M89FANKxstEeFRRAGH3QJbloRxnzIgh0U0ah5npE9XA1bYXGO5khoXeIyk7pNRfjIo8aEnJH1Vp8vWA6J6ovxdJ7lCFKEGvGKxGde50knVl7KFVVULlX2U=
|
||||
|
||||
@@ -13,7 +13,10 @@ module.exports = {
|
||||
if (opt === "env" || opt === "dumpLineNumbers" || opt === "rootpath" || opt === "errorReporting") {
|
||||
options[opt] = tag.dataset[opt];
|
||||
} else {
|
||||
options[opt] = JSON.parse(tag.dataset[opt]);
|
||||
try {
|
||||
options[opt] = JSON.parse(tag.dataset[opt]);
|
||||
}
|
||||
catch(_) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user