mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-12-23 23:23:06 +11:00
Added raven-js
This commit is contained in:
parent
9d2ef6219c
commit
b36117ed1b
4 changed files with 12 additions and 3 deletions
|
@ -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(){
|
||||
|
|
|
@ -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
2
pastebin/static/raven-0.4.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue