mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 17:00:04 +02:00
Use 'Array.prototype.includes' instead of '_.include'
This commit is contained in:
parent
96ddb5041a
commit
9365454cf3
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ GitVisuals.prototype.explodeNodes = function(speed) {
|
|||
GitVisuals.prototype.animateAllFromAttrToAttr = function(fromSnapshot, toSnapshot, idsToOmit) {
|
||||
var animate = function(obj) {
|
||||
var id = obj.getID();
|
||||
if (_.include(idsToOmit, id)) {
|
||||
if (idsToOmit.includes(id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue