BeSite/jQuery.mmenu — pull request #88 by lagden (2014-04-24 19:04:12+00:00)
Title: Universal Module Definition patterns for JavaScript modules

I have not changed anything from the code, just moved into /* your code */

```javascript
(function(factory) {
if (typeof define === 'function' && define.amd) {
define(['jquery'], factory);
} else if (typeof exports === 'object') {
factory(require('jquery'));
} else {
factory(jQuery);
}
}(function($) {
/* your code */
}));
```

It's working better than before, because now we can use AMD!! :+1: