1
0
Gildas 7 жил өмнө
parent
commit
f3019f1d29

+ 2 - 2
lib/single-file/parse-srcset.js

@@ -33,8 +33,8 @@ this.parseSrcset = (() => {
 		}
 
 		function collectCharacters(regEx) {
-			let chars,
-				match = regEx.exec(input.substring(pos));
+			let chars;
+			const match = regEx.exec(input.substring(pos));
 			if (match) {
 				chars = match[0];
 				pos += chars.length;