Refactored to coffeescript and Marionette

This commit is contained in:
Fergal Moran
2013-05-25 13:35:33 +01:00
parent b4c672bc41
commit 829e773d57
97 changed files with 6320 additions and 576 deletions

View File

@@ -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