It seems that when you have an object called "exports" defined, pace.js tries to set a property on a module. In my case module does not exist, so there's a console error.
I think that line 978:
|
} else if (typeof exports === 'object') { |
|
module.exports = Pace; |
|
} else { |
should be changed to typeof module since that appears to be the purpose anyways (set the property "exports" on the object "module")
Am I missing something here?
Thanks!
It seems that when you have an object called "exports" defined, pace.js tries to set a property on a
module. In my casemoduledoes not exist, so there's a console error.I think that line 978:
pace/pace.js
Lines 978 to 980 in 2350e56
should be changed to
typeof modulesince that appears to be the purpose anyways (set the property "exports" on the object "module")Am I missing something here?
Thanks!