ericmmartin/simplemodal — Issue #7: Simplemodal doesn't support AMD
Author: jd-boyd
Created: 2011-12-12 20:38:31+00:00
State: open

Jquery 1.7 adds support for the Asynchronous Module Definition (AMD) API ( https://github.com/amdjs/amdjs-api/wiki/AMD ). It would be great if simplemodal would also now support this. Usually the easiest, most flexible way to do this is to find the appropriate Universal Module Definition pattern from https://github.com/umdjs/umd (probably their simple jqueryPlugin template, https://github.com/umdjs/umd/blob/master/jqueryPlugin.js ), and apply it to simplemodal.