Fixing a bug in the define (AMD/requirejs) call
Merge pull request #8 from bnewtonius/master

Fixed a bug for AMD/requirejs compatibility