assemblymade/coderwall

View on GitHub
app/views/shared/_gauges.html.erb

Summary

Maintainability
Test Coverage
<% if ENABLE_TRACKING %>
    <script type="text/javascript">
        var _gauges = _gauges || [];
        (function () {
            var t = document.createElement('script');
            t.type = 'text/javascript';
            t.async = true;
            t.id = 'gauges-tracker';
            t.setAttribute('data-site-id', '4e5ffb93613f5d2759000001');
            t.src = '//secure.gaug.es/track.js';
            var s = document.getElementsByTagName('script')[0];
            s.parentNode.insertBefore(t, s);
        })();
    </script>
<% end %>