mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-26 11:37:33 +00:00
Refactored to coffeescript and Marionette
This commit is contained in:
@@ -12,6 +12,7 @@ com.podnoms.settings = {
|
||||
smDebugMode: '{{ SM_DEBUG_MODE }}',
|
||||
isDebug: '{{ IS_DEBUG }}',
|
||||
drawTimelineOnMix: false,
|
||||
staticUrl: '{{ STATIC_URL }}',
|
||||
currentUser: {{ CURRENT_USER_ID }},
|
||||
/** simple helper to take an api JSON object and initialise a player item */
|
||||
setupPlayer: function (data, id) {
|
||||
@@ -21,7 +22,6 @@ com.podnoms.settings = {
|
||||
waveFormEl: $('#waveform-' + id),
|
||||
playHeadEl: $('#playhead-player-' + id),
|
||||
loadingEl: $('#progress-player-' + id),
|
||||
timeLineEl: $('#player-timeline-' + id),
|
||||
seekHeadEl: $('#player-seekhead'),
|
||||
playButtonEl: $('#play-pause-button-small-' + id),
|
||||
url: data.stream_url
|
||||
|
||||
Reference in New Issue
Block a user