consolidate datetime methods

This commit is contained in:
Luke Pulverenti 2016-05-05 22:55:15 -04:00
parent 69ae494554
commit 8225003fd5
9 changed files with 29 additions and 70 deletions

View file

@ -1,4 +1,4 @@
(function () {
define(['events'], function (events) {
function transferPlayback(oldPlayer) {
@ -25,7 +25,7 @@
});
}
Events.on(MediaController, 'playerchange', function (e, newPlayer, newTarget, oldPlayer) {
events.on(MediaController, 'playerchange', function (e, newPlayer, newTarget, oldPlayer) {
if (!oldPlayer) {
console.log('Skipping remote control autoplay because oldPlayer is null');
@ -48,4 +48,4 @@
}
});
})();
});