Skip to content

Commit

Permalink
Drop AMD
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Oct 25, 2023
1 parent 230fc40 commit 331b589
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 60 deletions.
10 changes: 0 additions & 10 deletions src/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@ export default function exportQUnit (QUnit) {
exportedModule = true;
}

// For AMD
if (typeof define === 'function' && define.amd) {
define(function () {
return QUnit;
});
QUnit.config.autostart = false;

exportedModule = true;
}

// For other environments, including Web Workers (globalThis === self),
// SpiderMonkey (mozjs), and other embedded JavaScript engines
if (!exportedModule) {
Expand Down
29 changes: 0 additions & 29 deletions test/amd.html

This file was deleted.

21 changes: 0 additions & 21 deletions test/amd.js

This file was deleted.

0 comments on commit 331b589

Please sign in to comment.