ed3af99f by Gary Katsevman

Fix tests

1 parent c84a41cb
......@@ -35,7 +35,7 @@
"karma-sauce-launcher": "~0.1.8",
"qunitjs": "^1.15.0",
"sinon": "1.10.2",
"video.js": "^4.7.2"
"video.js": "^4.9.0"
},
"dependencies": {
"pkcs7": "^0.2.2",
......
......@@ -58,7 +58,7 @@
haveMetadata = function(error, xhr, url) {
var parser, refreshDelay, update;
loader.bandwidth = request.bandwidth || xhr.bandwidth;
loader.bandwidth = request && request.bandwidth || xhr && xhr.bandwidth;
// any in-flight request is now finished
request = null;
......