Compare Revisions
Last modification
- Rev 429 2013-05-02 23:44:38
- Author: PointedEars
- Log message:
* object.js: jsx.throwThis(): Use jsx.getStackTrace() to support all implementations (2)
/trunk/object.js |
1642,13 → 1642,14 |
} |
|
var sContext = ""; |
if (typeof Error == "function") |
|
var stack = jsx.getStackTrace( |
typeof Error == "function" |
? new Error() |
: null); |
if (stack) |
{ |
var stack = jsx.getStackTrace(new Error()); |
if (stack) |
{ |
sContext = "\n\n" + stack; |
} |
sContext = "\n\n" + stack; |
} |
|
/* DEBUG: set breakpoint here */ |