Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d55d72d5
authored
2014-10-02 14:02:58 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Ignore top level videojs events
1 parent
ed3af99f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
test/videojs-hls_test.js
test/videojs-hls_test.js
View file @
d55d72d
...
...
@@ -1211,7 +1211,10 @@ test('remove event handlers on dispose', function() {
oldOn
.
call
(
player
,
type
,
handler
);
};
player
.
off
=
function
(
type
,
handler
)
{
// ignore the top-level videojs removals that aren't relevant to HLS
if
(
type
&&
type
!==
'dispose'
)
{
offhandlers
++
;
}
oldOff
.
call
(
player
,
type
,
handler
);
};
player
.
src
({
...
...
Please
register
or
sign in
to post a comment