diff options
author | Sean Whitton <spw+git@sdf.org> | 2014-11-12 14:03:47 +0900 |
---|---|---|
committer | Sean Whitton <spw+git@sdf.org> | 2014-11-12 14:03:47 +0900 |
commit | 5f5ed9e0073933d6e1d758d4c4f64a80793ff645 (patch) | |
tree | 887aedd21090fa865de1f8a258c7968c984c853d /js/main.js | |
parent | 0b5da1372082cda36253455838723b3982a05bb6 (diff) | |
download | schoolclock-5f5ed9e0073933d6e1d758d4c4f64a80793ff645.tar.gz |
ionSound initialised
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -8,7 +8,24 @@ * - rework use of global variables * - button to make a loud noise like bell */ - + +$.ionSound({ + sounds: [ + { + name: "klaxon" + }, + { + name: "button_tiny", + }, + { + name: "cheonjae", + } + ], + // volume: 0.5, + path: "sounds/", + preload: true +}); + var timeWastingClock = new FlipClock($('.time-wasting-clock'), { autoStart:false }); |