Skip to content

Commit

Permalink
fixed the exports
Browse files Browse the repository at this point in the history
  • Loading branch information
777arc committed Jan 1, 2024
1 parent d286ce3 commit 6116ae4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 16 deletions.
6 changes: 2 additions & 4 deletions lib/cross/Cross.js
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,5 @@ var CrossModule = (() => {
return moduleArg.ready;
};
})();
if (typeof exports === "object" && typeof module === "object")
module.exports = CrossModule;
else if (typeof define === "function" && define["amd"])
define([], () => CrossModule);

export default CrossModule;
6 changes: 2 additions & 4 deletions lib/kissfft/KissFFT.js
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,5 @@ var KissFFTModule = (() => {
return moduleArg.ready;
};
})();
if (typeof exports === "object" && typeof module === "object")
module.exports = KissFFTModule;
else if (typeof define === "function" && define["amd"])
define([], () => KissFFTModule);

export default KissFFTModule;
6 changes: 2 additions & 4 deletions lib/kissfftmodified/KissFFT.js
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,5 @@ var KissFFTModule = (() => {
return moduleArg.ready;
};
})();
if (typeof exports === "object" && typeof module === "object")
module.exports = KissFFTModule;
else if (typeof define === "function" && define["amd"])
define([], () => KissFFTModule);

export default KissFFTModule;
6 changes: 2 additions & 4 deletions lib/nayukic/NayukiCFFT.js
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,5 @@ var NayukiCModule = (() => {
return moduleArg.ready;
};
})();
if (typeof exports === "object" && typeof module === "object")
module.exports = NayukiCModule;
else if (typeof define === "function" && define["amd"])
define([], () => NayukiCModule);

export default NayukiCModule;

0 comments on commit 6116ae4

Please sign in to comment.