fxa / uritemplate-js

An javascript implementation of RFC6570 Uri Templates
MIT License
97 stars 20 forks source link

Added AMD support by checking whether "define" is defined #3

Closed rikkertkoppes closed 11 years ago

rikkertkoppes commented 12 years ago

For client side inclusion, I am a big fan of AMD

I added some bits to the exportCallback and a separate demo_AMD html page.

fxa commented 11 years ago

Hi rikkertkoppes sorry for the late answer I am not a fan of AMD, but there is really no reason to not merge your pull request (there are so many negations in this sentense, I hope I did it right) Thank you for your encouragement!