Timeline for Loading Modernizr (or other JavaScript libraries) for use in a plugin
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 8, 2012 at 15:28 | comment | added | Daniel Chatfield | Then assuming both plugin authors used wp_enqueue_script and called it Modernizr (as that is its name) then everything should be fine. | |
Sep 4, 2012 at 18:19 | comment | added | Geert | I’m not talking about admin pages only. For the plugin I have in mind I’ll need Modernizr on the front-end too. The site probably won’t break if Modernizr gets loaded twice by different plugins; however, I’m looking for best practices here. Imaging your WP installation uses five plugins which all load Modernizr on their own. | |
Sep 3, 2012 at 14:24 | history | answered | Daniel Chatfield | CC BY-SA 3.0 |