Skip to content

Commit 4787d8b

Browse files
authored
Update to version 2.7.6 (#1)
Update mathjax to v2.7.6 and mathjax-node to v2.0.0
1 parent 3db51ce commit 4787d8b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var fs = require('fs');
33
var path = require('path');
44
var crc = require('crc');
55
var exec = require('child_process').exec;
6-
var mjAPI = require('mathjax-node/lib/mj-single.js');
6+
var mjAPI = require('mathjax-node/lib/main.js');
77

88
var started = false;
99
var countMath = 0;
@@ -118,7 +118,7 @@ function processBlock(blk) {
118118
@return {Object}
119119
*/
120120
function getWebsiteAssets() {
121-
var version = this.config.get('pluginsConfig.mathjax.version', '2.7.1');
121+
var version = this.config.get('pluginsConfig.mathjax.version', '2.7.6');
122122

123123
return {
124124
assets: "./book",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"gitbook": ">=3.0.0"
88
},
99
"dependencies": {
10-
"mathjax-node": "0.5.2",
10+
"mathjax-node": "2.0.0",
1111
"q": "^1.1.2",
1212
"crc": "^3.2.1"
1313
},
@@ -31,7 +31,7 @@
3131
"version": {
3232
"type": "string",
3333
"title": "Version of MathJAX to use for website rendering",
34-
"default": "2.7.1"
34+
"default": "2.7.6"
3535
}
3636
}
3737
}

0 commit comments

Comments
 (0)