Tweak to keep it from polluting the browser's global namespace. #22

wants to merge 1 commit into


None yet
3 participants

With it setting module and export in the global namespace it was conflicting with other libs in the browser. Example: If was included after this, would think it was running in node because of the global declared module and export variables.


Marak commented Jan 5, 2013

This commit will break normal browser usage if exports or modules is not defined.

@Marak Marak closed this Aug 21, 2013

You should be able to package colors so that doing this kind of thing won't break browser usage...

@benbuckman benbuckman referenced this pull request Jun 27, 2012


Conflicts with REPL #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment