f5a5a960ba
Adds 2 more songs to the timer, which can be switched using the radio buttons inside timer panel. Changed the music loop logic to make it gapless.
25 lines
693 B
JavaScript
25 lines
693 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
import activateTimer from './methods/activateTimer';
|
|
import deactivateTimer from './methods/deactivateTimer';
|
|
import resetTimer from './methods/resetTimer';
|
|
import startTimer from './methods/startTimer';
|
|
import stopTimer from './methods/stopTimer';
|
|
import switchTimer from './methods/switchTimer';
|
|
import setTimer from './methods/setTimer';
|
|
import getServerTime from './methods/getServerTime';
|
|
import setTrack from './methods/setTrack';
|
|
import timerEnded from './methods/timerEnded';
|
|
|
|
Meteor.methods({
|
|
activateTimer,
|
|
deactivateTimer,
|
|
resetTimer,
|
|
startTimer,
|
|
stopTimer,
|
|
switchTimer,
|
|
setTimer,
|
|
getServerTime,
|
|
setTrack,
|
|
timerEnded,
|
|
});
|