Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UMD support #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add UMD support #4

wants to merge 2 commits into from

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