Sha256: 228b48784c8e478dddcbee0c58fa767eb502be04854251afc5047b049b534a3d

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

$(function() {
  var playback, prev;

  $.get('/commits.json', function(data) {
    success: {
      playback = new DiffPlayback(data);
      $('.slider').attr('max', playback.commits.length, 'min', 0)
      playback.init();
    }
  });

  $('.slider').change(function(e) {
    e.preventDefault(); 
    playback.drawCommit(this.value);
  });

});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
repoman-0.5.2 lib/repoman/app/public/javascripts/application.js