Skip to content

Commit

Permalink
Update tex2mml.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-mashin authored Feb 28, 2025
1 parent a287385 commit f7740fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/tex2mml.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,11 @@ const makeConfig = ( input, conf, dist ) => {
config = JSON.parse( data );
} );
}
// config.loader.load = [ 'input/tex-full', 'adaptors/liteDOM' ];
const ui = config.loader.load.indexOf( 'ui/safe' );
if ( ui > -1 ) {
config.loader.load.splice( ui, 1 );
config.loader.load.push( 'adaptors/liteDOM' );
}
if ( dist ) {
config.loader.source = {};
} else {
Expand Down

0 comments on commit f7740fe

Please sign in to comment.