axe-core 4.10.1-canary.61dd5e3 → 4.10.1-canary.7e9bacf

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/axe.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! axe v4.10.1-canary.61dd5e3
1
+ /*! axe v4.10.1-canary.7e9bacf
2
2
  * Copyright (c) 2015 - 2024 Deque Systems, Inc.
3
3
  *
4
4
  * Your use of this Source Code Form is subject to the terms of the Mozilla Public
@@ -22,7 +22,7 @@
22
22
  }, _typeof(o);
23
23
  }
24
24
  var axe = axe || {};
25
- axe.version = '4.10.1-canary.61dd5e3';
25
+ axe.version = '4.10.1-canary.7e9bacf';
26
26
  if (typeof define === 'function' && define.amd) {
27
27
  define('axe-core', [], function() {
28
28
  return axe;
@@ -27836,16 +27836,18 @@
27836
27836
  });
27837
27837
  });
27838
27838
  });
27839
- q.defer(function(res) {
27840
- return setTimeout(res, 0);
27841
- });
27842
- if (options.performanceTimer) {
27843
- this._logRulePerformance();
27844
- }
27845
27839
  q.then(function() {
27846
- return resolve(ruleResult);
27840
+ if (options.performanceTimer) {
27841
+ _this9._logRulePerformance();
27842
+ }
27843
+ setTimeout(function() {
27844
+ resolve(ruleResult);
27845
+ }, 0);
27847
27846
  })['catch'](function(error) {
27848
- return reject(error);
27847
+ if (options.performanceTimer) {
27848
+ _this9._logRulePerformance();
27849
+ }
27850
+ reject(error);
27849
27851
  });
27850
27852
  };
27851
27853
  Rule.prototype.runSync = function runSync2(context) {