Added basic functionality to music player as a test
This commit is contained in:
parent
6a777d3a00
commit
f60b5a9908
@ -1,2 +1,4 @@
|
|||||||
$(document).ready ->
|
$(document).ready ->
|
||||||
|
player = $('#music-player audio')
|
||||||
|
|
||||||
|
player.volume = .5
|
10
public/js/music.js
Normal file
10
public/js/music.js
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
// Generated by CoffeeScript 1.4.0
|
||||||
|
(function() {
|
||||||
|
|
||||||
|
$(document).ready(function() {
|
||||||
|
var player;
|
||||||
|
player = $('#music-player audio');
|
||||||
|
return player.volume = .5;
|
||||||
|
});
|
||||||
|
|
||||||
|
}).call(this);
|
Loading…
Reference in New Issue
Block a user