stretchr / arg.js

Lightweight URL argument and parameter parser
Other
1.06k stars 47 forks source link

Add AMD support. #27

Closed djrumbold closed 8 years ago

djrumbold commented 8 years ago

It would be nice if arg.js could be specified as a module dependency and used as a variable when using requirejs, without touching the window global or using a shim. Returning the result of MakeArg as the result of the define call makes this possible, as per typical amd usage.