From 25205e3dda627d0e5c98faa34b12f151133442af Mon Sep 17 00:00:00 2001 From: James Allen Date: Tue, 29 Jul 2014 10:37:43 +0100 Subject: [PATCH] Update to official mathjax cdn --- services/web/Gruntfile.coffee | 2 +- services/web/app/views/project/editor.jade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/Gruntfile.coffee b/services/web/Gruntfile.coffee index e517d20aa0..75a8bc4c02 100644 --- a/services/web/Gruntfile.coffee +++ b/services/web/Gruntfile.coffee @@ -88,7 +88,7 @@ module.exports = (grunt) -> preserveLicenseComments: false paths: "moment": "libs/moment-2.7.0" - "mathjax": "https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" + "mathjax": "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML" shim: "libs/pdfListView/PdfListView": deps: ["libs/pdf"] diff --git a/services/web/app/views/project/editor.jade b/services/web/app/views/project/editor.jade index 1c2bb95fe2..b362a2d806 100644 --- a/services/web/app/views/project/editor.jade +++ b/services/web/app/views/project/editor.jade @@ -92,7 +92,7 @@ block content window.anonymous = #{anonymous}; window.requirejs = { "paths" : { - "mathjax": "https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML", + "mathjax": "https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML", "moment": "libs/moment-2.7.0" }, "urlArgs" : "fingerprint=#{fingerprint(jsPath + 'ide.js')}-#{fingerprint(jsPath + 'libs.js')}",