Merge pull request #409 from ilexwg/master

fix: correct the typo
development
David Benson 2020-01-29 11:37:50 +00:00 committed by GitHub
commit df73309a0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 62 additions and 68 deletions

View File

@ -26,10 +26,7 @@
{ {
if (terminal.shape.stencil != null) if (terminal.shape.stencil != null)
{ {
if (terminal.shape.stencil != null) return terminal.shape.stencil.constraints;
{
return terminal.shape.stencil.constraints;
}
} }
else if (terminal.shape.constraints != null) else if (terminal.shape.constraints != null)
{ {

View File

@ -19,10 +19,7 @@ window.onload = function () {
{ {
if (terminal.shape.stencil != null) if (terminal.shape.stencil != null)
{ {
if (terminal.shape.stencil != null) return terminal.shape.stencil.constraints;
{
return terminal.shape.stencil.constraints;
}
} }
else if (terminal.shape.constraints != null) else if (terminal.shape.constraints != null)
{ {

View File

@ -10,7 +10,7 @@
* For vertices, the geometry consists of the x- and y-location, and the width * For vertices, the geometry consists of the x- and y-location, and the width
* and height. For edges, the geometry consists of the optional terminal- and * and height. For edges, the geometry consists of the optional terminal- and
* control points. The terminal points are only required if an edge is * control points. The terminal points are only required if an edge is
* unconnected, and are stored in the sourcePoint> and <targetPoint> * unconnected, and are stored in the <sourcePoint> and <targetPoint>
* variables, respectively. * variables, respectively.
* *
* Example: * Example: