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

Utilities.js Lodash not being defined, when underscore is defined by a superseding script #523

Closed
tb01923 opened this issue Jun 17, 2014 · 1 comment

Comments

@tb01923
Copy link

tb01923 commented Jun 17, 2014

WE use underscore on our site, and recently upgraded to node-orm2 2.1.15 with some immediate issues. It looks as though Utilities.js doesn't explicitly define the lodash variable and is therefore is causing issues with the cloneDeep function.

Change this:

  _ = require('lodash')

To This:

 var _ = require('lodash')

seems to do the trick. If you provide some instructions on how, I can provide a patch, or someone can make this change on our behalf.

Thanks

@dxg dxg closed this as completed in cf20a20 Jun 27, 2014
@dxg
Copy link
Collaborator

dxg commented Jun 27, 2014

Fixed on master

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

2 participants