Skip to content

Commit

Permalink
Export axs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Jul 5, 2016
1 parent 3c550a0 commit 2cf288b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions vendor/axs_testing.js
Original file line number Diff line number Diff line change
Expand Up @@ -2281,9 +2281,4 @@ axs.AuditRules.addRule({name:"videoWithoutCaptions", heading:"Video elements sho
return axs;
});

// Define AMD module if possible, export globals otherwise.
if (typeof define !== 'undefined' && define.amd) {
define([], fn);
} else {
var axs = fn.call(this);
}
module.exports = fn.call(this);

0 comments on commit 2cf288b

Please sign in to comment.