-
Notifications
You must be signed in to change notification settings - Fork 122
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
Wrong version of underscore #537
Comments
I will look into it. The container app for TiShadow uses underscore including |
Probably a good idea for me to just start requiring lodash in all my files. Though, I am not sure if it would work with the auto-generated Alloy files like controllers, etc because of where it places the user code in the files. I will do a few more tests with different files to see what happens. Thanks! |
I have created the file I am guessing this is a separate issue so I can create a new github issue for this. Thanks! |
Yep. I'm not sure if ts support node_modules base requires (I haven't used them). Separate issue, but should be easy to fix. |
When I create an app, the first thing I always do is put the contents from
lodash.js
into/lib/alloy/underscore.js
so that I can use lodash instead of the really old version of underscore that is included with alloy.When I do this with TiShadow, references to
_
in my app seem to be pulling from a version of underscore.js that is included in/build/appify/build/Resources/lib/underscore.js
. I am outputing_.VERSION
right before I am getting undefined errors and it is 1.4.4 and the only reference to that seems to be in the TiShadow underscore file.Do you know why it would be picking this up? And if so, is there a way of turning that off?
Thanks!
The text was updated successfully, but these errors were encountered: