Closed alexlafroscia closed 8 years ago
Hey @alexlafroscia, thanks for the PR! Sorry it took me so long to get to it; I was on vacation without Internet access. Let me take a look real quick and then I'm sure I'll merge it in :)
No worries! Glad it made it in 😁
I wanted to use this with Ember but without an AMD module, there wasn't a good way to import it. This change just avoids only exporting through
module.exports
and adds the ability to export that or an AMD module (or a global variable, if neither of those options are available).I didn't explicit add an automated test for the AMD export, but I was able to pull it into Ember with these changes present.