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
5203d749
authored
2014-04-15 14:45:55 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Remove unneeded variable responseType in xhr helper
1 parent
6c08a3ae
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
5203d74
...
...
@@ -111,7 +111,6 @@ var
options
=
{
method
:
'GET'
},
responseType
,
request
;
if
(
typeof
callback
!==
'function'
)
{
...
...
@@ -121,14 +120,13 @@ var
if
(
typeof
url
===
'object'
)
{
options
=
videojs
.
util
.
mergeOptions
(
options
,
url
);
url
=
options
.
url
;
responseType
=
options
.
responseType
;
}
request
=
new
window
.
XMLHttpRequest
();
request
.
open
(
options
.
method
,
url
);
if
(
responseType
)
{
request
.
responseType
=
responseType
;
if
(
options
.
responseType
)
{
request
.
responseType
=
options
.
responseType
;
}
if
(
settings
.
withCredentials
)
{
request
.
withCredentials
=
true
;
...
...
Please
register
or
sign in
to post a comment