Skip to content

Commit 216758f

Browse files
author
runarberg
committed
v3.0.1-dist
1 parent 5399449 commit 216758f

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "markdown-it-math",
33
"main": "dist/markdown-it-math.js",
4-
"version": "3.0.0",
4+
"version": "3.0.1",
55
"authors": [
66
"Rúnar Berg Baugsson Sigríðarson <[email protected]>"
77
],

dist/markdown-it-math.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! markdown-it-math 3.0.0 https://github.com/runarberg/markdown-it-math @license MIT */
1+
/*! markdown-it-math 3.0.1 https://github.com/runarberg/markdown-it-math @license MIT */
22
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.markdownitMath = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
33
'use strict';
44

@@ -5688,7 +5688,7 @@ process.umask = function() { return 0; };
56885688

56895689
'use strict';
56905690

5691-
var ascii2mathml = require('ascii2mathml');
5691+
var ascii2mathml = null;
56925692
require('./lib/polyfills');
56935693

56945694

@@ -5900,6 +5900,9 @@ function makeMath_block(open, close) {
59005900
}
59015901

59025902
function makeMathRenderer(options) {
5903+
if (ascii2mathml === null) {
5904+
ascii2mathml = require('ascii2mathml');
5905+
}
59035906
var mathml = ascii2mathml(Object.assign({}, options));
59045907

59055908
return options && options.display === 'block' ?

0 commit comments

Comments
 (0)