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
  • Merge requests
  • !2179

Fix latest.js to work when v3.0 is released

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Davide P. Cervone requested to merge github/fork/dpvc/fix-latest into develop Aug 19, 2019
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

The current version of latest.js looks for the latest version of MathJax on the CDN, and if it is version 2.x for some x, it loads that. If not, it loads whatever version the latest.js was taken from.

When Version 3.0 is released, the current version will be 3.0.0, and so latest.js will load the version where latest.js was loaded rather than the latest 2.x version.

This PR backports the v3.0 latest.js, which resolves this problem (as well as adds a number of other CDN choices). In this version, when the current CDN version isn't version 2.x, it will look up the available versions and take the highest 2.x version.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/dpvc/fix-latest