Skip to content

Commit

Permalink
Do not pollute window object in less-browser bootstrap (#3352)
Browse files Browse the repository at this point in the history
Signed-off-by: Leonid Gaiazov <leonid.gaiazov@appian.com>
  • Loading branch information
gaiazov authored and matthew-dean committed Jan 12, 2019
1 parent 764e883 commit b50515c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/less-browser/bootstrap.js
Expand Up @@ -13,7 +13,7 @@ require('promise/polyfill');
var options = require('../less/default-options')();

if (window.less) {
for (key in window.less) {
for (var key in window.less) {
if (window.less.hasOwnProperty(key)) {
options[key] = window.less[key];
}
Expand Down

0 comments on commit b50515c

Please sign in to comment.