Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • M MathJax
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 304
    • Issues 304
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • MathJax
  • MathJax
  • Issues
  • #636
Closed
Open
Issue created Oct 22, 2013 by Administrator@rootContributor

MathJax.isPacked and MathJax.AuthorConfig mixup

Created by: fred-wang

Followup of issue #556 (closed) :

if (window.MathJax) { window.MathJax = {AuthorConfig: window.MathJax} } else {window.MathJax = {}}

// MathJax.isPacked = true;

if(document.getElementById&&document.childNodes&&document.createElement){
  ...
    Normal MathJax.js code
  ...
}

then the packer will just add a comment header (no additional code) and uncomment the MathJax.isPacked = true line. And someone reading the unpacked code will directly see the logic of the packed version.

Assignee
Assign to
Time tracking