diff options
Diffstat (limited to 'itjs')
-rw-r--r-- | itjs/boot.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/itjs/boot.js b/itjs/boot.js index 9ae92d4..92e02f5 100644 --- a/itjs/boot.js +++ b/itjs/boot.js @@ -26,7 +26,8 @@ function it_catcherr(msg, url, line) { entry = lines[i]; // append next line also since it has the file info - if (lines[i+1]) { + if (lines[i+1]) + { entry += " at " + lines[i+1]; i++; } @@ -45,8 +46,8 @@ function it_catcherr(msg, url, line) fname = /function\s*([\w\-$]+)?\s*\(/.test(current_func.toString()) ? RegExp.$1 || 'anonymous' : 'anonymous'; stacktrace += fname + '/'; current_func = current_func.caller; - } - } + } + } if (typeof it_boot.sequence != 'undefined') { |