Sha256: d74c844fdd465ba5cf5bb140c3fe32aaaef9d7e419d7e76c3331d4ddeb132f9e

Contents?: true

Size: 653 Bytes

Versions: 2

Compression:

Stored size: 653 Bytes

Contents

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