summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Schneider2008-08-27 08:41:32 +0000
committerChristian Schneider2008-08-27 08:41:32 +0000
commit964dd1030c0810dc111402803f98ad4a2f949f76 (patch)
treeecda6843504c7b4dd5bfe72427d9f5c7617c674f
parentd92df54f69378d935b0cbfac8d8aafbc8379b0a2 (diff)
downloaditools-964dd1030c0810dc111402803f98ad4a2f949f76.tar.gz
itools-964dd1030c0810dc111402803f98ad4a2f949f76.tar.bz2
itools-964dd1030c0810dc111402803f98ad4a2f949f76.zip
Fix coding style
-rw-r--r--itjs/boot.js7
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')
{