Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove self & document from IIFE arguments #2258

Merged
merged 1 commit into from
Mar 21, 2020

Conversation

mAAdhaTTah
Copy link
Member

If self or document don't exist, they'll error instead of getting to the
checks.

Fixes #2257.

If self or document don't exist, they'll error instead of getting to the
checks.

Fixes #2257.
@mAAdhaTTah mAAdhaTTah merged commit 3c04333 into master Mar 21, 2020
@mAAdhaTTah mAAdhaTTah deleted the issue-2257-fix-keep-markup branch March 21, 2020 16:29
@ScottAgirs
Copy link

ScottAgirs commented Mar 24, 2020

@RunDevelopment @mAAdhaTTah Hey guys, will there be a patch published or how does this work? While on localhost it's possible to manually delete the buggy parts from node_modules, when deploying npm install is still broken...

An idea of when this could be live or what to do to have this running would be much appreciated 🙌 🙏

@RunDevelopment
Copy link
Member

We will make a release soon but it might take some time. In the meantime, you can let npm checkout the commit instead.

npm i github:PrismJS/prism#3c043338154fc2a660fc3f6035a8589899f4a644

quentinvernot pushed a commit to TankerHQ/prismjs that referenced this pull request Sep 11, 2020
If self or document don't exist, they'll error instead of getting to the
checks.

Fixes PrismJS#2257.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ReferenceError: self is not defined - prism-keep-markup
3 participants