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

Commit

Permalink
Fix re-declared variable in AuditRule.run()
Browse files Browse the repository at this point in the history
  • Loading branch information
Alice committed Oct 3, 2013
1 parent aa0a0b6 commit 5230162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/AuditRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ axs.AuditRule.collectMatchingElements = function(node, matcher, collection) {
* @return {?Object.<string, (axs.constants.AuditResult|?Array.<Element>|boolean)>}
*/
axs.AuditRule.prototype.run = function(options) {
var options = options || {};
options = options || {};
var ignoreSelectors = 'ignoreSelectors' in options ? options['ignoreSelectors'] : [];
var scope = 'scope' in options ? options['scope'] : document;
var maxResults = 'maxResults' in options ? options['maxResults'] : null;
Expand Down

0 comments on commit 5230162

Please sign in to comment.