* Get the correct script for the mathml formula. * * Use writeScript: Failed to execute 'write' on 'Document': It isn't possible * to write into a document from an asynchronously-loaded external script unless * it is explicitly opened. * * @param {!Window} global * @param {string} scriptSourc
(global, scriptSource, cb)
| 16 | * @param {function(*)} cb |
| 17 | */ |
| 18 | function getMathmlJs(global, scriptSource, cb) { |
| 19 | writeScript(global, scriptSource, function () { |
| 20 | cb(global.MathJax); |
| 21 | }); |
| 22 | } |
| 23 | |
| 24 | /** |
| 25 | * @param {!Window} global |
no test coverage detected