Skip to content

Commit

Permalink
this is a test
Browse files Browse the repository at this point in the history
  • Loading branch information
drewlesueur committed Oct 4, 2010
1 parent 1c9178e commit d454533
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions index.html
Expand Up @@ -385,7 +385,7 @@

})

function put_move(last_move_time, second_last_move_time, id, index) {
function put_move(last_move_time, second_last_move_time, id, index, meta) {
var track = $('#' + id)
var duration_width_ratio = track.width() / audio.duration

Expand All @@ -397,7 +397,7 @@
width = 1;
}

var move = $('<div id="move_'+move_count+'" class="move" style="left: '+left+'px; width:'+width+'px;" data-start="'+second_last_move_time+'" data-end="'+last_move_time+'"><div class="meta"></div></div>')
var move = $('<div id="move_'+move_count+'" class="move" style="left: '+left+'px; width:'+width+'px;" data-start="'+second_last_move_time+'" data-end="'+last_move_time+'"><div class="meta">'+(meta || "")+'</div></div>')
track.append(move)

function update_move(obj) {
Expand Down Expand Up @@ -479,6 +479,7 @@
$(e.target).find(".meta").text(meta)
var current_move = $(e.target).attr("id")
current_move = _s(current_move, "move_".length)
current_move = current_move * 2
console.log(current_move)
moves_meta[current_track][current_move] = meta

Expand Down

0 comments on commit d454533

Please sign in to comment.