Skip to content
This repository was archived by the owner on Dec 7, 2022. It is now read-only.

Commit 5230162

Browse files
author
Alice
committed
Fix re-declared variable in AuditRule.run()
1 parent aa0a0b6 commit 5230162

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/js/AuditRule.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ axs.AuditRule.collectMatchingElements = function(node, matcher, collection) {
145145
* @return {?Object.<string, (axs.constants.AuditResult|?Array.<Element>|boolean)>}
146146
*/
147147
axs.AuditRule.prototype.run = function(options) {
148-
var options = options || {};
148+
options = options || {};
149149
var ignoreSelectors = 'ignoreSelectors' in options ? options['ignoreSelectors'] : [];
150150
var scope = 'scope' in options ? options['scope'] : document;
151151
var maxResults = 'maxResults' in options ? options['maxResults'] : null;

0 commit comments

Comments
 (0)