-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
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:
Lines 978 to 980 in 2350e56
| } 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!
btraas and shurinskiy
Metadata
Metadata
Assignees
Labels
No labels