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

@@ -83,6 +83,7 @@ mindplot.DesignerModel = new Class({
addTopic:function (topic) {
$assert(topic, "topic can not be null");
$assert(typeof topic.getId() == "number", "id is not a number:" + topic.getId());
this._topics.push(topic);
},