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

Prism.languages.insertBefore overload #1505

Closed
RunDevelopment opened this issue Jul 29, 2018 · 0 comments · Fixed by #1631
Closed

Prism.languages.insertBefore overload #1505

RunDevelopment opened this issue Jul 29, 2018 · 0 comments · Fixed by #1631

Comments

@RunDevelopment
Copy link
Member

RunDevelopment commented Jul 29, 2018

insertBefore has a strange overload with two arguments where it just copies everything from before (which is used like insert) into a language definition.

This overload isn't documented anywhere well and I couldn't find any references to it in our code base.

Should we just remove it?

mAAdhaTTah pushed a commit that referenced this issue Dec 1, 2018
ggrossetie pushed a commit to ggrossetie/prism that referenced this issue Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants