Add AMD Module Support #26

Closed
wants to merge 3 commits into
from

3 participants

@MontyThibault

The Mousetrap object is only added to the global scope if a "define" function isn't present. Otherwise, it will call this function to define Mousetrap as an AMD module. Everything else remains unchanged.

@bootstraponline

Will this AMD support work with requirejs?

@ccampbell ccampbell closed this in e4f7e59 Jul 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment