Skip to content

Commit cc89417

Browse files
committed
Initialize variable with undefined
1 parent 8cc7bfa commit cc89417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Graph.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function Graph(options) {
5353
this.nodeSet = {};
5454
this.nodes = [];
5555
this.edges = [];
56-
this.layout = null;
56+
this.layout = undefined;
5757
}
5858

5959
Graph.prototype.addNode = function(node) {

0 commit comments

Comments
 (0)