Ver Fonte

minor changes

unknown há 9 anos atrás
pai
commit
df2d1bc70e
1 ficheiros alterados com 2 adições e 4 exclusões
  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);