Skip to content

Commit

Permalink
Fix site compatibility with IE 11
Browse files Browse the repository at this point in the history
Resolves #382
  • Loading branch information
theodorejb committed Nov 17, 2020
1 parent 0f5fb8b commit 0e38ebf
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 58 deletions.
138 changes: 85 additions & 53 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
"start": "grunt serve"
},
"devDependencies": {
"grunt": "^1.2.1",
"grunt": "^1.3.0",
"grunt-contrib-connect": "^3.0.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-gh-pages": "^4.0.0",
"rollup": "^2.22.1",
"typescript": "^3.9.7"
"rollup": "^2.33.2",
"typescript": "^4.0.5"
},
"dependencies": {}
}
4 changes: 2 additions & 2 deletions site/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,10 @@ function getOptionsCode(options) {
let value = options[opt];

if (typeof value === 'string') {
value = `'${value}'`;
value = "'" + value + "'";
}

code += ` ${opt}: ${value}, // ${optDescriptions[opt]}\n`;
code += " " + opt + ": " + value + ", // " + optDescriptions[opt] + "\n";
}

code += "};\n\n";
Expand Down

0 comments on commit 0e38ebf

Please sign in to comment.