Minor tidy ups
- whitespace fix - added a few var's
This commit is contained in:
parent
14aea1afe6
commit
affbca426c
|
@ -35,13 +35,13 @@ var Graph = function()
|
|||
this.eventListeners = [];
|
||||
};
|
||||
|
||||
Node = function(id, data)
|
||||
var Node = function(id, data)
|
||||
{
|
||||
this.id = id;
|
||||
this.data = typeof(data) !== 'undefined' ? data : {};
|
||||
};
|
||||
|
||||
Edge = function(id, source, target, data)
|
||||
var Edge = function(id, source, target, data)
|
||||
{
|
||||
this.id = id;
|
||||
this.source = source;
|
||||
|
|
Loading…
Reference in New Issue
Block a user