Browse files

fixed line offset for firefox stack

  • Loading branch information...
1 parent 07922fa commit d577e1ff87762ca5933ef778fbe757d3172d8ad4 @bjouhier bjouhier committed May 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/callbacks/runtime.js
View
2 lib/callbacks/runtime.js
@@ -189,7 +189,7 @@
s = s.split('\n').map(function(l) {
// try to map firefox format to V8 format
// ffOffset takes care of lines difference introduced by require.js script.
- var ffOffset = typeof navigator === 'object' ? 12 : 0;
+ var ffOffset = 0; // typeof navigator === 'object' ? 12 : 0;
var m = /(^[^(]+)\([^@]*\@(.*)\:(\d+)$/.exec(l);
l = m ? " at " + m[1] + " (" + m[2] + ":" + (parseInt(m[3]) - ffOffset) + ":0)" : l;
ff = ff || (m != null);

0 comments on commit d577e1f

Please sign in to comment.