Modify

Opened 4 years ago

Last modified 4 years ago

#13851 new enhancement

Update MathJax URL

Reported by: figaro Owned by:
Priority: normal Component: TracMathJaxPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

The following URL uses the latest library: MATHJAX_URL = 'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js'

This is for the version installed on PyPi.

The diff furthermore is based on api.py file after autopep8.

Attachments (1)

api.diff (539 bytes) - added by figaro 4 years ago.
Autopep8 and update of MATHJAXURL

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by figaro

Attachment: api.diff added

Autopep8 and update of MATHJAXURL

comment:1 Changed 4 years ago by Ryan J Ollos

Owner: set to Ryan J Ollos
Status: newaccepted

comment:2 Changed 4 years ago by Ryan J Ollos

Owner: Ryan J Ollos deleted
Status: acceptednew

The change results in JavaScript errors in the browser:

Uncaught TypeError: MathJax.Hub is undefined
    <anonymous> http://localhost:8000/proj-1.3/chrome/mathjax/config.js:1
config.js:1:1
    <anonymous> http://localhost:8000/proj-1.3/chrome/mathjax/config.js:1
Uncaught TypeError: MathJax.Hub is undefined
    render http://localhost:8000/proj-1.3/chrome/mathjax/update.js:10
    <anonymous> http://localhost:8000/proj-1.3/chrome/mathjax/update.js:12
    jQuery 3
    <anonymous> http://localhost:8000/proj-1.3/chrome/mathjax/update.js:1

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.