Does not work as expected with Component.js
Closed this issue · 1 comments
dominicbarnes commented
With component.js, the module
object used is actually a function, so typeof module
yields "function"
, which bypasses the CommonJS check in the UMD. (and thus gets added to the global object)
Consider switching typeof module === "object"
to typeof module !== "undefined"
.
dominicbarnes commented
Thanks!