Sha256: 0b7f51ac378715a6f6be06c74f6354fac71e076daf587b9379efd9f0137af7d2
Contents?: true
Size: 674 Bytes
Versions: 23
Compression:
Stored size: 674 Bytes
Contents
<%= javascript_tag %Q{ (function(){ var notifierJsScheme = (("https:" == document.location.protocol) ? "https://" : "http://"); document.write(unescape("%3Cscript src='" + notifierJsScheme + "#{host}/javascripts/notifier.js' type='text/javascript'%3E%3C/script%3E")); })(); }%> <%= javascript_tag %Q{ window.Airbrake = (typeof(Airbrake) == 'undefined' && typeof(Hoptoad) != 'undefined') ? Hoptoad : Airbrake Airbrake.setKey('#{api_key}'); Airbrake.setHost('#{host}'); Airbrake.setEnvironment('#{environment}'); Airbrake.setErrorDefaults({ url: "#{escape_javascript url}", component: "#{controller_name}", action: "#{action_name}" }); } %>
Version data entries
23 entries across 23 versions & 2 rubygems