Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed line offset for firefox stack

  • Loading branch information...
commit d577e1ff87762ca5933ef778fbe757d3172d8ad4 1 parent 07922fa
Bruno Jouhier bjouhier authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/callbacks/runtime.js
2  lib/callbacks/runtime.js
View
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.