8000 global var fix · browserstack/less.js@7843e77 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7843e77

Browse files
committed
global var fix
1 parent 22c5bd7 commit 7843e77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/less/browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ for (var i = 0; i < links.length; i++) {
101101
var session_cache = '';
102102
less.modifyVars = function(record) {
103103
var str = session_cache;
104-
for (name in record) {
104+
for (var name in record) {
105105
str += ((name.slice(0,1) === '@')? '' : '@') + name +': '+
106106
((record[name].slice(-1) === ';')? record[name] : record[name] +';');
107107
}

0 commit comments

Comments
 (0)
0