cindyli/videoPlayer — comment on commit 5ad07012cedbcca6592ca1003a878d6c670fa8ef
File: js/VideoPlayer_timeUpdateAdapter.js line 47
By colinbdclark:

It seems to me that, from this line down to the end, we've got a critical piece of code that would likely be reused across multiple event adapters. This code could also benefit from from being tested in isolation--without the need for a element in place. I'd factor it out into a separate, public function. In other words, this is the code that actually does something each time the clock ticks.