소스 검색

minor changes

unknown 9 년 전
부모
커밋
df2d1bc70e
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      app/app.js

+ 2 - 4
app/app.js

@@ -160,10 +160,7 @@ if (Meteor.isClient) {
 
     Template.playlist.helpers({
         playlist_songs: function() {
-            // return [
-            //   {title: "Foo", artist: "Bar"},
-            //   {title: "Ying", artist: "Yang"}
-            // ];
+
         }
     });
 
@@ -224,6 +221,7 @@ if (Meteor.isClient) {
                     sound._player._volume = 0.3;
                     console.log(sound);
                     sound.play();
+                    console.log(getTimeElapsed());
                     // Session.set("title", currentSong.song.title || "Title");
                     // Session.set("artist", currentSong.song.artist || "Artist");
                     Session.set("duration", currentSong.song.duration);