Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
feat: change to axe.run (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcy Sutton committed Dec 14, 2017
1 parent b9dfef8 commit c3e94ca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ AxeBuilder.prototype.analyze = function(callback) {
if (config !== null) {
window.axe.configure(config);
}
window.axe.a11yCheck(context || document, options, arguments[arguments.length - 1]);
window.axe.run(context || document, options)
.then(arguments[arguments.length - 1]);
}, context, options, config)
.then(callback);
});
Expand Down

0 comments on commit c3e94ca

Please sign in to comment.