mathjax / mathjax/MathJax

When using rollup, in order to use mathjax in strict mode, remove arguments.callee.

Open
#2,918 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request v3
Dominant language
JavaScript
Stars
10.9k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.

When using "rollup", in order to use mathjax in strict mode, remove "arguments.callee".

Because rollup requires modules to use strict mode.

Describe the solution you'd like
https://github.com/mathjax/MathJax-src/issues/850

Describe alternatives you've considered

Additional context

Contributor guide

Open the contributing guide

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

Start by reviewing the MathJax-src issue linked in the description and locating the JavaScript uses of arguments.callee relevant to Rollup output. Confirm the affected build works in strict mode without those uses; completion means Rollup can process MathJax successfully under strict mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.