瀏覽代碼

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);