Sha256: 6cd6895966f9120cd07083d0e614d776dc62bdf47e4de63c5c4304e576f48323

Contents?: true

Size: 853 Bytes

Versions: 1

Compression:

Stored size: 853 Bytes

Contents

I"I(function() {
  window.onerror = function(message, file_or_page, line_number, column_number, error) {
    var form, xhr;
    if (column_number == null) {
      column_number = null;
    }
    if (error == null) {
      error = null;
    }
    xhr = null;
    form = null;
    form = new FormData;
    form.append('message', message);
    form.append('file_or_page', file_or_page);
    form.append('line_number', line_number);
    form.append('column_number', column_number);
    form.append('user_agent', navigator.userAgent);
    form.append('current_page', window.location.href);
    form.append('stack_trace', error != null ? error.stack : void 0);
    if (xhr != null) {
      xhr.abort();
    }
    xhr = new XMLHttpRequest;
    xhr.open('POST', '/__javascript_errors', true);
    xhr.send(form);
    return false;
  };

}).call(this);
:ET

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tastes_bitter-0.0.2 test/dummy/tmp/cache/sprockets/v3.0/yJhPwQHWEmSLL399yHlwUpIJovU0axX3X-9_TteyBXE.cache