File: index.html

package info (click to toggle)
django-yarnpkg 6.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 236 kB
  • sloc: python: 508; makefile: 128
file content (20 lines) | stat: -rw-r--r-- 529 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
{% load static %}
<html>
<head>
    <title>django-yarnpkg demo</title>
    <script type="text/javascript" src='{% static 'jquery/dist/jquery.js' %}'></script>
    <script type="text/javascript" src='{% static 'underscore/underscore.js' %}'></script>
    <script type="text/javascript">
        $(function(){
            $('body').append('<p>jquery work</p>');

            if (_) {
                $('body').append('<p>underscore work</p>');
            }
        });
    </script>
</head>
<body>
</body>
</html>