Clean up events binding in Video Player
* Video Player now acting as a parent that always knowing the state of their children. * Events on the sub-controls are now triggered on itself, and binded by the Video Player instead of triggering everything on the Video Player. * A new helper class, SubView, has been introduced to cleanup repeat logic on scoped jQuery selector, render() and bind()
Showing
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
lms/static/coffee/src/_subview.coffee
0 → 100644
Please
register
or
sign in
to comment