Fix the define function for AMD compatibility.
Merge pull request #2 from marksandhu/master

Fix AMD compatibility in Shotgun.js