loading jquery with sprockets directive instead of assets pipeline

master
Jordan Han 2019-05-13 16:43:28 +08:00
parent 98242fc5a3
commit 354454f480
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,8 @@
//= require jquery-3.4.1.slim.js
$(document).ready ->
console.log "JQuery running"
console.log "{{ site.title }}"
audio = new Audio('{% asset CB.WAV %}')
audio.play();

View File

@ -5,7 +5,6 @@ date: 2019-05-12 09:16 +0800
categories: toys
---
{% asset sequencer.css %}
{% asset jquery-3.4.1.slim.js %}
{% asset sequencer.coffee %}
<div class="sequencer-baseline" >