XObject.js
authorAlan Knowles <alan@roojs.com>
Sun, 9 Dec 2012 10:41:24 +0000 (18:41 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 9 Dec 2012 10:41:24 +0000 (18:41 +0800)
XObject.js

index b30739e..6195243 100644 (file)
@@ -201,7 +201,7 @@ XObject.prototype = {
             try {
                 this.el = new (this.xtype)(this.config);
             } catch(e) {
-                print(JSON.stringify(e.stack, null,4));
+                print(e.stack);
                  throw {
                     name: "ArgumentError", 
                     message :"Error creating object from xtype(object)"