Sha256: 41b6fefff8c6dab1835cf28e13282d3ea600966b2a28def25e6c2707d9ec4fc5

Contents?: true

Size: 459 Bytes

Versions: 2

Compression:

Stored size: 459 Bytes

Contents

<script type="text/javascript"> 
//<![CDATA[
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"));
//]]>
</script> 

<script type="text/javascript">
  Hoptoad.setKey('<%= api_key %>');
  Hoptoad.setHost('<%= host %>');
  Hoptoad.setEnvironment('<%= environment %>');
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hoptoad_notifier-2.3.9 lib/templates/javascript_notifier.erb
hoptoad_notifier-2.3.8 lib/templates/javascript_notifier.erb