Explorar o código

removed unneeded parameter

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
4024a97833
Modificáronse 1 ficheiros con 1 adicións e 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) {