Created
August 7, 2012 19:10
-
-
Save sapegin/3288482 to your computer and use it in GitHub Desktop.
RequireJS in Wordpress theme
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've been working on a WP site and am currently using RequireJS to load jQuery core from wp-includes/js/jquery. But because of how WordPress works, if I install a jQuery-dependent plugin via WP-Admin later on, the plugin will install jQuery core again. The end result is that the page will have two references to jQuery. Just curious if anyone has a workaround for this? Thanks in advance.