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

@@ -59,7 +59,7 @@ objects.extend = function(subClass, baseClass) {
};
$assert = function(assert, message) {
if (!assert) {
if (!$defined(assert) || !assert) {
var stack;
try {
null.eval();