@@ -34,7 +34,7 @@ import { HTMLDomStrings } from './HTMLDomStrings.js';
3434import { DOMAdaptor } from '../../core/DOMAdaptor.js' ;
3535import { InputJax } from '../../core/InputJax.js' ;
3636import { STATE , ProtoItem , Location } from '../../core/MathItem.js' ;
37- import { StyleList } from '../../util/StyleList .js' ;
37+ import { StyleJson } from '../../util/StyleJson .js' ;
3838
3939/*****************************************************************/
4040/**
@@ -81,7 +81,7 @@ export class HTMLDocument<N, T, D> extends AbstractMathDocument<N, T, D> {
8181 /**
8282 * Extra styles to be included in the document's stylesheet (added by extensions)
8383 */
84- protected styles : StyleList [ ] ;
84+ protected styles : StyleJson [ ] ;
8585
8686 /**
8787 * The DomString parser for locating the text in DOM trees
@@ -115,7 +115,7 @@ export class HTMLDocument<N, T, D> extends AbstractMathDocument<N, T, D> {
115115 * @param {number } index The position within the N's string that needs to be found
116116 * @param {string } delim The delimiter for this position
117117 * @param {HTMLNodeArray } nodes The list of node lists representing the string array
118- * @returns {Location } The Location object for the position of the delimiter in the document
118+ * @returns {Location } The Location object for the position of the delimiter in the document
119119 */
120120 protected findPosition (
121121 N : number ,
@@ -143,7 +143,7 @@ export class HTMLDocument<N, T, D> extends AbstractMathDocument<N, T, D> {
143143 * @param {ProtoItem } item The proto math item to turn into an actual MathItem
144144 * @param {InputJax } jax The input jax to use for the MathItem
145145 * @param {HTMLNodeArray } nodes The array of node lists that produced the string array
146- * @returns {HTMLMathItem } The MathItem for the given proto item
146+ * @returns {HTMLMathItem } The MathItem for the given proto item
147147 */
148148 protected mathItem (
149149 item : ProtoItem < N , T > ,
@@ -208,7 +208,7 @@ export class HTMLDocument<N, T, D> extends AbstractMathDocument<N, T, D> {
208208 *
209209 * @param {InputJax<N,T,D> } jax The jax being used
210210 * @param {N[] } containers The containers to be searched in order
211- * @returns {HTMLMathList<N,T,D> } The list of MathItems found
211+ * @returns {HTMLMathList<N,T,D> } The list of MathItems found
212212 */
213213 protected findMathFromStrings (
214214 jax : InputJax < N , T , D > ,
@@ -233,7 +233,7 @@ export class HTMLDocument<N, T, D> extends AbstractMathDocument<N, T, D> {
233233 *
234234 * @param {InputJax<N,T,D> } jax The jax being used
235235 * @param {N[] } containers The containers to be searched in order
236- * @returns {HTMLMathList<N,T,D> } The list of MathItems found
236+ * @returns {HTMLMathList<N,T,D> } The list of MathItems found
237237 */
238238 protected findMathFromDOM (
239239 jax : InputJax < N , T , D > ,
@@ -345,16 +345,16 @@ export class HTMLDocument<N, T, D> extends AbstractMathDocument<N, T, D> {
345345 /**
346346 * Add styles to be included in the document's stylesheet
347347 *
348- * @param {StyleList } styles The styles to include
348+ * @param {StyleJson } styles The styles to include
349349 */
350- public addStyles ( styles : StyleList ) {
350+ public addStyles ( styles : StyleJson ) {
351351 this . styles . push ( styles ) ;
352352 }
353353
354354 /**
355- * @returns {StyleList [] } Get the array of document-specific styles
355+ * @returns {StyleJson [] } The array of document-specific styles
356356 */
357- public getStyles ( ) : StyleList [ ] {
357+ public getStyles ( ) : StyleJson [ ] {
358358 return this . styles ;
359359 }
360360}
0 commit comments