-
Notifications
You must be signed in to change notification settings - Fork 96
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
Underscore 1.7.0 upgrade #1019
Underscore 1.7.0 upgrade #1019
Conversation
Assigning @nicolaasmatthijs for review |
I'm consistently seeing the same build errors as the ones shown by Travis, so there's probably a bit more going on here.
|
Back to @simong for investigation of test failures. |
53acc49
to
0e1e89d
Compare
Changes Unknown when pulling 0e1e89d on simong:underscore-1.7.0 into * on oaeproject:master*. |
Changes Unknown when pulling 0f006da on simong:underscore-1.7.0 into * on oaeproject:master*. |
0f006da
to
477f882
Compare
Got a properly functioning build at https://travis-ci.org/oaeproject/Hilary/builds/33709119 that downgraded elasticsearch to 1.1.1 and included the underscore fixes. I've rebased my branch and letting it run for another build |
@@ -72,8 +72,12 @@ var getMultipleContentItems = module.exports.getMultipleContentItems = function( | |||
|
|||
// If `fields` was specified, we select only the fields specified. Otherwise we select all (i.e., *) | |||
if (fields) { | |||
if (!_.isArray(fields)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be better to use OaeUtil.toArray
here?
Finished review. Back to @simong for follow-up |
The build succeeded, back to @nicolaasmatthijs for review |
Looks good. Merged. |
Changes Unknown when pulling e750d5b on simong:underscore-1.7.0 into * on oaeproject:master*. |
Related to jashkenas/underscore#1805. |
This is due to an underscore 1.7.0 breaking change.
See: jashkenas/underscore#1736