Bug fix for amd and minification compatibility
Merge pull request #13 from bnadim/master

Bug fix for amd and minification compatibility