diff options
author | nskazki <nskazki@gmail.com> | 2019-07-19 16:12:16 +0300 |
---|---|---|
committer | nskazki <nskazki@gmail.com> | 2019-07-19 16:26:01 +0300 |
commit | b36b92b2478b5aac165be0d3d84cd1f011d4c8df (patch) | |
tree | 715d594088ddcc7085800214096c1a381aedf858 /src/js/html5.js | |
parent | dfc09b8e04f6e4829c29a68106eb4af5be76a2ff (diff) | |
download | plyr-b36b92b2478b5aac165be0d3d84cd1f011d4c8df.tar.lz plyr-b36b92b2478b5aac165be0d3d84cd1f011d4c8df.tar.xz plyr-b36b92b2478b5aac165be0d3d84cd1f011d4c8df.zip |
Detach event listeners on destroy
if "on" receives "this", it attaches "eventListeners" array to "this" and stores "{ element, type, callback }" hash in there.
later, during the destruction process, all the entries from this array will be processed by "unbindListeners" helper to detach all the event listeners.
Diffstat (limited to 'src/js/html5.js')
0 files changed, 0 insertions, 0 deletions