dimsemenov / Magnific-Popup

Light and responsive lightbox script with focus on performance.
http://dimsemenov.com/plugins/magnific-popup/
MIT License
11.39k stars 3.49k forks source link

Add missing RequireJS support #382

Open slavafomin opened 10 years ago

slavafomin commented 10 years ago

Please add missing RequireJS support.

I would love to see it doing:

var magnificPopup = require('magnific-popup');
magnificPopup.open({ /* ... */ });

Thank you!

JacobWDavidson commented 9 years ago

Did you ever figure out how to get these two to work with each other? I've been trying to get it working for a couple days now and can't seem to make any progress.

slavafomin commented 9 years ago

I'm sorry, I'm not using both MagnificPopup and RequireJS anymore.

JacobWDavidson commented 9 years ago

No problem! Just figured I'd check. Thanks for getting back to me!

mpdude commented 9 years ago

Also see #593