Skip to content

Add UMD support#4

Open
sashee wants to merge 2 commits intonquinlan:masterfrom
sashee:master
Open

Add UMD support#4
sashee wants to merge 2 commits intonquinlan:masterfrom
sashee:master

Conversation

@sashee
Copy link
Contributor

@sashee sashee commented Mar 8, 2016

These commits wrap the implementations with an UMD boilerplate. This make them easier to use in a componentized (like WebPack or Browserify) environment, and allow things like:

import Alea from "better-random-numbers-for-javascript/support/js/Alea.js

The templates used are these.

The implementations are not changed, just wrapped; Github has a hard time figuring out the code just got indented. They are working as before in the browser.

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