예제 #1
0
파일: app.js 프로젝트: sebs/pomodorotimer
 $('#stop').click(function() {
   if (watch.isRunning()) {
     watch.stop();
   }
 });
예제 #2
0
파일: app.js 프로젝트: sebs/pomodorotimer
 $('#start').click(function() {
   if (!watch.isRunning()) {
     watch.start();
   }
 });