Sha256: 428085201a5d979a2c0eb5d8f3e2eefd82e4d2373f514d10ba7acc3e7687add6

Contents?: true

Size: 625 Bytes

Versions: 2

Compression:

Stored size: 625 Bytes

Contents

I"e(function() {
  window.onerror = function(message, file_or_page, line_number) {
    var error_info, xhr;
    xhr = null;
    error_info = null;
    error_info = {
      message: message,
      file_or_page: file_or_page,
      line_number: line_number,
      user_agent: navigator.userAgent,
      current_page: window.location.href
    };
    if (xhr != null) {
      xhr.abort();
    }
    xhr = new XMLHttpRequest;
    xhr.open('POST', '/url', true);
    xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');
    xhr.send(error_info);
    return false;
  };

}).call(this);
:ET

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tastes_bitter-0.0.2 test/dummy/tmp/cache/sprockets/v3.0/PnkO2yKRLFWspcpgafIzuGOnU9DOjxMNRXqB33AzO9c.cache
tastes_bitter-0.0.1 test/dummy/tmp/cache/sprockets/v3.0/PnkO2yKRLFWspcpgafIzuGOnU9DOjxMNRXqB33AzO9c.cache