codecov / browser-extension

Codecov Browser Extension
http://codecov.io
Apache License 2.0
214 stars 60 forks source link

Overlay in Rollbar #4

Closed stevepeak closed 8 years ago

stevepeak commented 9 years ago

Overlay coverage data in Rollbar

screen shot 2015-05-14 at 10 27 16 am

% if style == 'c#':
  at ${method or '(unknown method)'}
  % if filename:
    in ${self.one_filename(filename, lineno, root, github_full_repo, branch, revision, data, frame, project_root)}
    % if lineno is not None:
      line <span class="lineno">${lineno}</span>
    % endif
  % endif
% elif style == 'java':
  at <span class="filename">${class_name}.${method or '(unknown method)'}</span>
  % if filename and lineno:
    (${filename}:${lineno})
  % else:
    (Unknown source)
  % endif
% elif style == 'objective-c':
  <% library = frame.get('library') %>

  % if filename:
    ${library}
    ${self.one_filename(filename, lineno, root, github_full_repo, branch, revision, data, frame, project_root)}
    line <span class="lineno">${lineno if lineno is not None else '(unknown)'}</span>
    in ${method}
  % else:
    ${library}
    in ${method}
  % endif
%
background: #dfd;
border-left: 3px solid green;
padding-left: 5px;