MathJax-single-file icon indicating copy to clipboard operation
MathJax-single-file copied to clipboard

TypeError: options.customExtensions is not iterable

Open BobNobrain opened this issue 7 years ago • 1 comments

At build function, when using with options:

build(
    'TeX',
    'AsciiMath',
    'CommonHTML', {
        toFile: true,
        compress: true,
        folder: 'ascii'
    }
);

It fails because you try to ...options.customExtensions, but it's undefined. I suppose you meant options to be written above default options object, but it's not made. So use smth like options = Object.assign({}, defaultOptions, options); (it solved issue on my side)

BobNobrain avatar May 14 '18 03:05 BobNobrain

Thanks for the report.

pkra avatar May 17 '18 14:05 pkra