Explorar el Código

removed unneeded parameter

Gildas hace 7 años
padre
commit
4024a97833
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/single-file/rules-matcher.js

+ 1 - 1
lib/single-file/rules-matcher.js

@@ -118,7 +118,7 @@ this.RulesMatcher = this.RulesMatcher || (() => {
 	}
 
 	function computeCascade(mediaInfo, parentMediaInfos, allMediaInfo) {
-		mediaInfo.elements.forEach((elementInfo, element) => {
+		mediaInfo.elements.forEach(elementInfo => {
 			getStylesInfo(elementInfo).forEach((elementStyleInfo, styleName) => {
 				let ruleInfo, ascendantMedia;
 				if (elementStyleInfo.cssRule) {