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

Set underscore as a local #25

Merged
merged 1 commit into from
Aug 21, 2015
Merged

Set underscore as a local #25

merged 1 commit into from
Aug 21, 2015

Conversation

mittsh
Copy link
Contributor

@mittsh mittsh commented Aug 21, 2015

Passed underscore as a local variable of the factory, fixing import with CommonJS or Node. The same way Backbone was passed as a parameter of factory(), this adds _ (Underscore.js).

Before this change, this fails us as we're trying to run Backbone + Backbone Nested Models in Node.js. All works fine except this detail.

Thanks for considering to merge this! I didn't bump the version number, let me know if you'd like to do so (I think it should be, but didn't want to make that decision on my own, probably v2.0.1 would be good).

Passed underscore as a local variable of the factory, fixing import with CommonJS or Node.
@mittsh mittsh mentioned this pull request Aug 21, 2015
@blittle blittle merged commit c85e245 into blittle:master Aug 21, 2015
@mittsh
Copy link
Contributor Author

mittsh commented Aug 21, 2015

@blittle thanks for the super quick merge, that's awesome 👍

@blittle
Copy link
Owner

blittle commented Aug 21, 2015

@mittsh thank you!

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.

2 participants