dist/exceptionless.universal.js
function findSourceInUrls(re, urls) {
        var source, m;
        for (var i = 0, j = urls.length; i < j; ++i) {
            if ((source = getSource(urls[i])).length) {
                source = source.join('\n');
                if ((m = re.exec(source))) {

                    return {
                        'url': urls[i],
                        'line': source.substring(0, m.index).split('\n').length,
                        'column': m.index - source.lastIndexOf('\n', m.index) - 1
                    };
                }
            }
        }

        return null;
    }
function findSourceInUrls(re, urls) {
        var source, m;
        for (var i = 0, j = urls.length; i < j; ++i) {
            if ((source = getSource(urls[i])).length) {
                source = source.join('\n');
                if ((m = re.exec(source))) {

                    return {
                        'url': urls[i],
                        'line': source.substring(0, m.index).split('\n').length,
                        'column': m.index - source.lastIndexOf('\n', m.index) - 1
                    };
                }
            }
        }

        return null;
    }
function findSourceInUrls ( re , urls ) { var source , m ; for ( var i = 0 , j = urls . length ; i < j ; ++ i ) { if ( ( source = getSource ( urls [ i ] ) ) . length ) { source = source . join ( '\n' ) ; if ( ( m = re . exec ( source ) ) ) { return { 'url' : urls [ i ] , 'line' : source . substring ( 0 , m . index ) . split ( '\n' ) . length , 'column' : m . index - source . lastIndexOf ( '\n' , m . index ) - 1 } ; } } } return null ; }
Determines where a code fragment occurs in the source code.
@param {RegExp} re The function definition.
@param {Array.<string>} urls A list of URLs to search.
@return {?Object.<string, (string|number)>} An object containing
the url, line, and column number of the defined function.
@memberof TraceKit.computeStackTrace
Determines where a code fragment occurs in the source code .