jQuery-Selectric icon indicating copy to clipboard operation
jQuery-Selectric copied to clipboard

Mailchimp interferes with loading

Open axelson opened this issue 8 years ago • 0 comments

I'm working on a site that uses wordpress and currently had the following mailchimp snippet loaded:

<script src="//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js"
type="text/javascript" data-dojo-config="usePlainJson: true, isDebug: false">
</script>

This is causing Selectric to think that we are in an AMD environment instead of browser global. Is there a way that I can work-around this issue?

It looks like the mailchimp snippet creates a define function with define.amd == {vendor: "dojotoolkit.org"}.

axelson avatar Sep 10 '17 01:09 axelson