Explorar o código

replaced let with const

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
1b9fb1a858
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/single-file/css-declarations-parser.js

+ 1 - 1
lib/single-file/css-declarations-parser.js

@@ -615,7 +615,7 @@ this.parseCss = this.parseCss || (() => {
 				const temp = [s.token];
 				while (!(s.next().tokenType == SEMICOLON_TOKEN_TYPE || s.next().tokenType == EOF_TOKEN_TYPE))
 					temp.push(consumeAComponentValue(s));
-				let decl = consumeADeclaration(new TokenStream(temp));
+				const decl = consumeADeclaration(new TokenStream(temp));
 				if (decl) decls.push(decl);
 			} else {
 				parseerror(s);