From 14b8d260004369327c357a6ba95c91db8d556f87 Mon Sep 17 00:00:00 2001 From: Sina Bakhtiari Date: Thu, 14 Jul 2016 00:48:48 +0430 Subject: [PATCH] FIX #21 Typo --- core/objects/dot/dot.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/objects/dot/dot.ts b/core/objects/dot/dot.ts index b746bc2..1c3c9cf 100644 --- a/core/objects/dot/dot.ts +++ b/core/objects/dot/dot.ts @@ -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; }