Added raven-js

This commit is contained in:
Martin Mahner 2012-06-16 00:07:11 +02:00
parent 9d2ef6219c
commit b36117ed1b
4 changed files with 12 additions and 3 deletions

View file

@ -96,7 +96,7 @@
{% endblock %}
{% block script_footer %}
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
{{ block.super }}
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.2/jquery-ui.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function(){

View file

@ -16,7 +16,7 @@
{% endblock %}
{% block script_footer %}
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
{{ block.super }}
<script type="text/javascript">
jQuery(document).ready(function(){
{% if request.session.userprefs.display_all_lexer %}

2
pastebin/static/raven-0.4.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -32,7 +32,14 @@
<a href="{% url about %}">{% trans "About" %}</a>
</div>
{% block script_footer %}{% endblock %}
{% block script_footer %}
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}raven-0.4.min.js"></script>
<script type="text/javascript">
Raven.config('http://059a065b89384b9cbfca0917e5b1ba1d@178.79.156.5:9000/1');
window.onerror = Raven.process;
</script>
{% endblock %}
</body>
</html>