Extend assert support.

This commit is contained in:
Paulo Veiga
2011-07-27 14:53:32 -03:00
parent d06275f524
commit 665c070359
28 changed files with 2993 additions and 3264 deletions

View File

@@ -89,7 +89,7 @@ mindplot.MainTopicBoard = new Class({
addBranch : function(topic) {
var order = topic.getOrder();
$assert($defined(order), "Order must be defined");
$assert(order, "Order must be defined");
// If the entry is not available, I must swap the the entries...
var board = this._getBoard();