Small fix to animation demo since JS is already included in demo file.
parent
91f7c1e1a9
commit
8ca415f532
|
@ -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>
|
||||
|
|
|
@ -5,4 +5,3 @@
|
|||
<div class="demo-animation__movable demo-animation--position-0 mdl-shadow--2dp"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="demo.js"></script>
|
||||
|
|
Loading…
Reference in New Issue