Skip to content

unparse.js: fix UMD header for browser compatibility.#641

Open
seansfkelley wants to merge 1 commit into
kach:masterfrom
seansfkelley:unparse-browser
Open

unparse.js: fix UMD header for browser compatibility.#641
seansfkelley wants to merge 1 commit into
kach:masterfrom
seansfkelley:unparse-browser

Conversation

@seansfkelley

Copy link
Copy Markdown

The existing file uses a mix of UMD and CommonJS for dependencies. This moves both dependencies to UMD so it can be dropped into a browser.

Note that randexp does ship a browser-compatible bundle, but only minified, and it exports under the name RandExp, not randexp.

The existing file uses a mix of UMD and CommonJS for dependencies. This moves both dependencies to UMD so it can be dropped into a browser.

Note that randexp does ship a browser-compatible bundle, but only minified, and it exports under the name `RandExp`, not `randexp`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant