ericmmartin / simplemodal

A modal dialog framework for jQuery
http://simplemodal.com/
Other
507 stars 229 forks source link

Add AMD support to Simplemodal #8

Closed jd-boyd closed 12 years ago

jd-boyd commented 12 years ago

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.

ericmmartin commented 12 years ago

Joshua - thank you for the update!