rse / pure-uuid

Pure JavaScript Based Universally Unique Identifiers (UUID)

Home Page:https://www.npmjs.com/package/pure-uuid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AMD define should produce anonymous module

eapearson opened this issue · comments

Hi,
The UMD mechanism employed sets the AMD module name to "UUID", which prevents usage of pure-uuid as an anonymous module. I believe what you really want is to omit the module name, and either replace it with [] to signify no dependencies or to skip that argument altogether. Once I made that change locally, it worked fine.