lcdsantos / lcdsantos/jQuery-Selectric

Mailchimp interferes with loading

Open
#206 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
715
Forks
149
PR merge metrics
No merged PRs in 30d

Description

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"}.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the loading conflict in a browser using the Mailchimp snippet shown, then inspect Selectric’s AMD-versus-browser-global loading path. Done means Selectric initializes correctly when the snippet defines define.amd; the issue names no file, test, or entry point to start from.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.