From 90bc645e441b27785ef2862ed4fc2cd08cc7d4ce Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Thu, 3 Sep 2015 22:14:22 -0400 Subject: [PATCH] Remove Raven code (closes #2769) --- dist/index.html | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/dist/index.html b/dist/index.html index 572d4a761..a00ac7b06 100644 --- a/dist/index.html +++ b/dist/index.html @@ -11,12 +11,6 @@ - - - - @@ -42,24 +36,6 @@ a.src=document.location.protocol+"//dnn506yrbagrg.cloudfront.net/pages/scripts/0013/6714.js?"+Math.floor(new Date().getTime()/3600000); a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1); - // Adding a canary for https://app.getsentry.com/id/id/group/5138888/ - if (Object.defineProperty) { - var windowFocus = window.focus; - Object.defineProperty(window, 'focus', { - get: function() { - return windowFocus; - }, - - set: function() { - try { - throw new Error("tried to overwrite window.focus"); - } catch(e) { - Raven.captureException(e); - } - } - }); - } - if (typeof iD == 'undefined') { document.getElementById('id-container').innerHTML = 'Sorry, Internet Explorer is not currently supported. Please use Potlatch 2 to edit the map.'; document.getElementById('id-container').className = 'unsupported';