Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
FIX #21 Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sinabakh committed Jul 13, 2016
1 parent b1fe2d9 commit 14b8d26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/objects/dot/dot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,10 @@ module KaryGraph {

/** Disconnect dot from Dot */
public DisconnectFrom( dot: Dot ): boolean {
if ( this.Inputs.contains( dot.Id ) ) {
if ( this.Inputs.includes( dot.Id ) ) {
this.DisconnectInput( dot.Id );
return true;
} else if ( this.Outputs.contains( dot.Id ) ) {
} else if ( this.Outputs.includes( dot.Id ) ) {
this.DisconnectOutput( dot.Id );
return true;
}
Expand Down

0 comments on commit 14b8d26

Please sign in to comment.