Small fix to animation demo since JS is already included in demo file.

master
Nicolas Garnier 2015-06-23 17:13:16 +01:00
parent 91f7c1e1a9
commit 8ca415f532
2 changed files with 5 additions and 7 deletions

View File

@ -22,10 +22,6 @@
<style>
{% include demo_css ignore missing %}
</style>
{% set demo_js = "../../dist/components/" + page.component + "/demo.js" %}
<script>
{% include demo_js ignore missing %}
</script>
</head>
<body>
@ -35,8 +31,11 @@
{{content|safe}}
{% endblock %}
</div>
<!-- Enable Prism syntax highlighting -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/0.0.1/prism.min.js"></script>
<!-- Built with love using Material Design Lite -->
{% set demo_js = "../../dist/components/" + page.component + "/demo.js" %}
<script>
{% include demo_js ignore missing %}
</script>
</body>
</html>

View File

@ -5,4 +5,3 @@
<div class="demo-animation__movable demo-animation--position-0 mdl-shadow--2dp"></div>
</div>
</div>
<script src="demo.js"></script>