mozilla/butter — pull request #498 by cadecairos (2012-06-14 16:08:46+00:00)
Title: T1500

1. I've added checks to make sure snap to never snaps out of the visible track area, if there happen to be track events that are outside of the video's duration.

2. I found some crufty duration related code in trackevent-view.js, where _duration would always be 1. It was never updated and not needed to correctly render trackevents. I modified the update in track-veiw.js to simply call update on its trackevents, so that the container is reset.