ericmmartin/simplemodal — pull request #8 by jd-boyd (2011-12-17 04:03:05+00:00)
Title: Add AMD support to Simplemodal

W.r.t. https://github.com/ericmmartin/simplemodal/issues/7

Add AMD API support ( https://github.com/amdjs/amdjs-api/wiki/AMD ) using the boiler plate example here (https://github.com/umdjs/umd/blob/master/jqueryPlugin.js ).

If there is no AMD compliant loader present, it passes the global jQuery object into the module as it did before.