This commit is contained in:
Peter Cottle 2012-08-13 21:30:39 -07:00
parent 5ee115872d
commit 97d6af16e0
3 changed files with 14 additions and 10 deletions

View file

@ -102,10 +102,9 @@
state.names[name] = node
state.nodes[node._id] = node;
_changes.push({t:"addNode", id:node._id, m:node.mass, x:x, y:y, f:fixed})
_changes.push({t:"addNode", id:node._id, m:node.mass, x:x, y:y, f:fixed});
that._notify();
return node;
}
},
@ -618,4 +617,4 @@
return that
}