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

@@ -39,7 +39,7 @@ mindplot.util.Shape =
{
$assert(rectCenterPoint, 'rectCenterPoint can not be null');
$assert(rectSize, 'rectSize can not be null');
$assert($defined(isAtRight), 'isRight can not be null');
$assert(isAtRight, 'isRight can not be null');
// Node is placed at the right ?
var result = new core.Point();