Parcourir la source

removed unneeded parameter

Gildas il y a 7 ans
Parent
commit
4024a97833
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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) {