8000 Merge pull request #27 from NeuroJS/master · JavaScriptIOT/dsp.js@c6144fc · GitHub
[go: up one dir, main page]

Skip to content

Commit c6144fc

Browse files
authored
Merge pull request corbanbrook#27 from NeuroJS/master
Fixes corbanbrook#25: module not defined
2 parents 051f341 + 0cf5999 commit c6144fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsp.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2300,7 +2300,7 @@ Reverb.prototype.process = function (interleavedSamples){
23002300
return outputSamples;
23012301
};
23022302

2303-
if (module && typeof module.exports !== 'undefined') {
2303+
if (typeof module !== 'undefined' && module && module.exports) {
23042304
module.exports = {
23052305
DSP: DSP,
23062306
DFT: DFT,

0 commit comments

Comments
 (0)
0