uuid-js icon indicating copy to clipboard operation
uuid-js copied to clipboard

Support running in browser w/o module exports defined.

Open dhackner opened this issue 8 years ago • 6 comments

Can additionally add AMD support if desired.

dhackner avatar Nov 16 '15 18:11 dhackner

Maybe use something like https://github.com/umdjs/umd/blob/master/templates/returnExportsGlobal.js ?

fiskus avatar Nov 17 '15 12:11 fiskus

@fiskus seems a bit heavy to add another dependency just for this. Open to it though. @pnegri?

dhackner avatar Nov 17 '15 16:11 dhackner

It's link to template of code, not to package or something. I mean maybe use more universal export (named Universal Module Definition)?

fiskus avatar Nov 17 '15 16:11 fiskus

I misunderstood.

I've added amd support. @fiskus - is your desire that this be wrapped in a closure such as in the example you provided?

dhackner avatar Nov 17 '15 16:11 dhackner

@fiskus Do we have any news on this? Can you merge it?

garex avatar Dec 18 '15 19:12 garex

+1 for that

Qnzvna avatar Oct 23 '16 15:10 Qnzvna