Gildas 7 лет назад
Родитель
Сommit
50c3f4b4fa
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      lib/single-file/css-declarations-parser.js

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

@@ -475,7 +475,7 @@ this.parseCss = this.parseCss || (() => {
 			}
 		}
 		const value = convertAStringToANumber(repr);
-		return { type: type, value: value, repr: repr };
+		return { type: value, repr };
 	}
 
 	function convertAStringToANumber(string) {
@@ -514,7 +514,7 @@ this.parseCss = this.parseCss || (() => {
 			lastLineLength = column;
 			column = 0;
 		};
-		const locStart = { line: line, column: column };
+		const locStart = { line, column };
 
 		const codepoint = function (i) {
 			if (i >= str.length) {