CodethinkLabs / software-dependency-visualizer

Prototype software dependency visualizer tool
Apache License 2.0
0 stars 1 forks source link

Move most of relationshipGraph's constructor out of the if statement #49

Closed jmacarthur closed 8 years ago

jmacarthur commented 8 years ago

We had a lot of function definitions inside the body of an if statement, which Firefox and Safari don't like. I've moved them out by making the if-statement return null in the opposite case. The commit only changes a few lines, but because of the indentation, the diff looks enormous.