From e7b7130b9587ba8579182d58d0170b65c5c880a4 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Fri, 21 Aug 2015 14:49:10 -0700 Subject: [PATCH] Added 'extensions' to interface in 'mathjax'. --- mathjax/mathjax.d.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/mathjax/mathjax.d.ts b/mathjax/mathjax.d.ts index 65c10e3ad..d8b1cd0ef 100644 --- a/mathjax/mathjax.d.ts +++ b/mathjax/mathjax.d.ts @@ -587,7 +587,7 @@ declare module jax { * These are found in the MathJax/jax directory. */ jax?:string[]; - /*A comma-separated list of extensions to load at startup. The default directory is MathJax/extensions. The + /*A list of extensions to load at startup. The default directory is MathJax/extensions. The * tex2jax and mml2jax preprocessors can be listed here, as well as a FontWarnings extension that you can use to * inform your user that mathematics fonts are available that they can download to improve their experience of * your site. @@ -1272,7 +1272,14 @@ declare module jax { * of a’s in MathJax’s equation buffer, the MAXBUFFER constant is used to limit the size of the string being * processed by MathJax. It is set to 5KB, which should be sufficient for any reasonable equation. */ - MAXBUFFER?:number; + MAXBUFFER?: number; + + /*A list of extensions to load at startup. The default directory is MathJax/extensions. The + * tex2jax and mml2jax preprocessors can be listed here, as well as a FontWarnings extension that you can use to + * inform your user that mathematics fonts are available that they can download to improve their experience of + * your site. + */ + extensions?: string[]; } export interface IEquationNumbers {