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

improved compatibility with node and node console #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jcollum
Copy link

@jcollum jcollum commented Jan 23, 2013

All tests are passing.

Usage:

und = require('underscore'); 
observableMixin =  require('./assets/js/lib/underscore.observable.js'); 
observableMixin(und);

Maybe it should be taking a guess at the existence of the _ variable when it's loaded via require?

@asvarga
Copy link

asvarga commented May 10, 2014

Hi, I'm having trouble getting this to work with node. When I use the above code with the appropriate reference to underscore.observable.js, I get an error at line 196: "_.mixin({ ..." saying "ReferenceError: _ is not defined". What might I be doing wrong? Thanks.

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.

3 participants