Explorar el Código

Update to official mathjax cdn

James Allen hace 12 años
padre
commit
25205e3dda
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      services/web/Gruntfile.coffee
  2. 1 1
      services/web/app/views/project/editor.jade

+ 1 - 1
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"]

+ 1 - 1
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')}",