Skip to content

Commit

Permalink
Small fix to animation demo since JS is already included in demo file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas Garnier committed Jun 23, 2015
1 parent 91f7c1e commit 8ca415f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
11 changes: 5 additions & 6 deletions docs/_templates/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
1 change: 0 additions & 1 deletion src/animation/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@
<div class="demo-animation__movable demo-animation--position-0 mdl-shadow--2dp"></div>
</div>
</div>
<script src="demo.js"></script>

0 comments on commit 8ca415f

Please sign in to comment.