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

Drop using require'd assert in favour of just throwing an error #115

Open
mrennie opened this issue Nov 25, 2016 · 0 comments
Open

Drop using require'd assert in favour of just throwing an error #115

mrennie opened this issue Nov 25, 2016 · 0 comments

Comments

@mrennie
Copy link

mrennie commented Nov 25, 2016

In a few places in the code, assert is require'd and used to throw a simple error.

You should remove this and simply 'throw new Error(...)'. The benefit of doing so is that it shrinks the browserify'd library considerably.

@mrennie mrennie mentioned this issue Nov 25, 2016
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

No branches or pull requests

1 participant