Add addional debug info.

This commit is contained in:
Paulo Gustavo Veiga
2012-11-04 23:20:21 -03:00
parent 17ea409542
commit 031bbe50e1
5 changed files with 47 additions and 194 deletions

View File

@@ -38,6 +38,7 @@ mindplot.NodeGraph = new Class({
},
setId : function(id) {
$assert(typeof topic.getId() == "number", "id is not a number:" + id);
this.getModel().setId(id);
},