History

Host MathML stylesheet in DevDocs

Thibaut Courouble committed 10 years ago

Commit a8bd4221 parent 4c28cb63 files · +218 −3Browse files

Showing the changes to assets/javascripts (1 of 3 files). Show all

Unified · Split

assets/javascripts/vendor/mathml.js+2−2
@@ -1,6 +1,6 @@
11 /* This Source Code Form is subject to the terms of the Mozilla Public
22 * License, v. 2.0. If a copy of the MPL was not distributed with this
3− * file, You can obtain one at http://mozilla.org/MPL/2.0/.
3+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
44 * Adapted from: https://github.com/fred-wang/mathml.css */
55 /*jslint browser: true*/
66
@@ -18,7 +18,7 @@ · 11 unmodified lines
1818 if (Math.abs(box.height - 23) > 1 || Math.abs(box.width - 77) > 1) {
1919 // Insert the mathml.css stylesheet.
2020 link = document.createElement("link");
21− link.href = "http://fred-wang.github.io/mathml.css/mathml.css";
21+ link.href = "https://cdn.devdocs.io/mathml.css";
2222 link.rel = "stylesheet";
2323 document.head.appendChild(link);
2424 }