Fix tests
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | "karma-sauce-launcher": "~0.1.8", | 35 | "karma-sauce-launcher": "~0.1.8", |
36 | "qunitjs": "^1.15.0", | 36 | "qunitjs": "^1.15.0", |
37 | "sinon": "1.10.2", | 37 | "sinon": "1.10.2", |
38 | "video.js": "^4.7.2" | 38 | "video.js": "^4.9.0" |
39 | }, | 39 | }, |
40 | "dependencies": { | 40 | "dependencies": { |
41 | "pkcs7": "^0.2.2", | 41 | "pkcs7": "^0.2.2", | ... | ... |
... | @@ -58,7 +58,7 @@ | ... | @@ -58,7 +58,7 @@ |
58 | haveMetadata = function(error, xhr, url) { | 58 | haveMetadata = function(error, xhr, url) { |
59 | var parser, refreshDelay, update; | 59 | var parser, refreshDelay, update; |
60 | 60 | ||
61 | loader.bandwidth = request.bandwidth || xhr.bandwidth; | 61 | loader.bandwidth = request && request.bandwidth || xhr && xhr.bandwidth; |
62 | 62 | ||
63 | // any in-flight request is now finished | 63 | // any in-flight request is now finished |
64 | request = null; | 64 | request = null; | ... | ... |
-
Please register or sign in to post a comment