Replace vendored KaTeX with package from npm
Remove our vendored copy of KaTeX and use the package from npm. This will make it easier to update KaTeX in future. The version being used here is exactly the same (0.1.1) as the version we previously had checked into src/sidebar/vendor.
Showing
... | @@ -66,6 +66,7 @@ | ... | @@ -66,6 +66,7 @@ |
"karma-mocha-reporter": "^2.0.4", | "karma-mocha-reporter": "^2.0.4", | ||
"karma-phantomjs-launcher": "^1.0.1", | "karma-phantomjs-launcher": "^1.0.1", | ||
"karma-sinon": "^1.0.5", | "karma-sinon": "^1.0.5", | ||
"katex": "^0.1.1", | |||
"lodash.debounce": "^4.0.3", | "lodash.debounce": "^4.0.3", | ||
"lodash.get": "^4.3.0", | "lodash.get": "^4.3.0", | ||
"mkdirp": "^0.5.1", | "mkdirp": "^0.5.1", | ||
... | @@ -118,8 +119,7 @@ | ... | @@ -118,8 +119,7 @@ |
}, | }, | ||
"browser": { | "browser": { | ||
"annotator": "./src/annotator/vendor/annotator.js", | "annotator": "./src/annotator/vendor/annotator.js", | ||
"hammerjs": "./node_modules/hammerjs/hammer.js", | "hammerjs": "./node_modules/hammerjs/hammer.js" | ||
"katex": "./src/sidebar/vendor/katex.js" | |||
}, | }, | ||
"browserify-shim": { | "browserify-shim": { | ||
"annotator": { | "annotator": { | ||
... | ... |
This diff is collapsed.
Please register or sign in to comment