Sha256: 9499fe349def0a47dc048dd875054b19dd941eecaf0a921fce3a82f3262fd512

Contents?: true

Size: 639 Bytes

Versions: 2

Compression:

Stored size: 639 Bytes

Contents

I"s(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', '/javascript_errors', 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/-OVytyrDmozyL3oTerWhfJfcAvv3ky40TJaXHSWVcpI.cache
tastes_bitter-0.0.1 test/dummy/tmp/cache/sprockets/v3.0/-OVytyrDmozyL3oTerWhfJfcAvv3ky40TJaXHSWVcpI.cache