Skip to content

Conversation

@longouyang
Copy link
Contributor

Hi all,

The source code view in the debugger plugin isn't working. The code tries to call _.contains, which is a method in Underscore, but not Lodash, which is the actual library used. Changing the call to _.includes fixes things.

Copy link
Contributor

@nfelt nfelt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

Actually, _.contains() was in lodash as an alias to _.includes prior to lodash v4, so it looks like this was another area where we got bitten by upgrading :(

Maybe we should proactively check against the rest of the changelog, there might be more stuff we're missing... https://github.com/lodash/lodash/wiki/Changelog#v400

@nfelt nfelt merged commit 8e4b905 into tensorflow:master Oct 26, 2018
@longouyang
Copy link
Contributor Author

Thanks for the quick merge!

@longouyang longouyang deleted the patch-1 branch October 26, 2018 18:05
stephanwlee pushed a commit to stephanwlee/tensorboard that referenced this pull request Dec 13, 2018
stephanwlee pushed a commit that referenced this pull request Dec 14, 2018
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