Skip to content
Snippets Groups Projects
Commit 7e9b67fe authored by David Dorchies's avatar David Dorchies
Browse files

Configuration de MathJax en local

parent 35ea4f14
No related branches found
No related tags found
1 merge request!21Resolve "Ajout de la calculette "Dever""
......@@ -4,13 +4,14 @@
"license": "MIT",
"scripts": {
"ng": "ng",
"start": "ng serve --host 0.0.0.0",
"prod": "ng serve --host 0.0.0.0 --env=prod",
"build": "ng build",
"start": "npm run mathjax; ng serve --host 0.0.0.0",
"prod": "npm run mathjax; ng serve --host 0.0.0.0 --env=prod",
"build": "npm run mathjax; ng build",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"jalhyd": "rm -rf node_modules/jalhyd; cd ../jalhyd; npm run package; cd ../nghyd; npm install ../jalhyd/jalhyd-1.0.0.tgz"
"jalhyd": "rm -rf node_modules/jalhyd; cd ../jalhyd; npm run package; cd ../nghyd; npm install ../jalhyd/jalhyd-1.0.0.tgz;",
"mathjax": "rm -rf src/assets/mathjax; cp -R node_modules/mathjax src/assets/mathjax;"
},
"private": true,
"dependencies": {
......@@ -29,6 +30,7 @@
"file-saver": "^1.3.8",
"he": "^1.1.1",
"jalhyd": "file:../jalhyd/jalhyd-1.0.0.tgz",
"mathjax": "^2.7.4",
"ngx-md": "^3.1.1",
"rxjs": "^5.5.2",
"zone.js": "^0.8.14"
......
......@@ -47,7 +47,7 @@
</script>
<!-- récupération du code + configuration par défaut -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS_CHTML"></script>
<script type="text/javascript" src="assets/mathjax/MathJax.js?config=TeX-AMS_CHTML"></script>
<!-- /MathJax-->
</head>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment