Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make firefox compatible

  • Loading branch information...
commit 7b95df779ad087c31c5c9524a9b7cf97cba67310 1 parent f210485
@ericz ericz authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  doc/start.md
  2. +1 −1  examples/helloworld/index.html
View
2  doc/start.md
@@ -104,7 +104,7 @@ client.on('stream', function(stream, meta){
});
stream.on('end', function(){
var img = document.createElement("img");
- img.src =(webkitURL||URL).createObjectURL(new Blob(parts));
+ img.src = (window.URL || window.webkitURL).createObjectURL(new Blob(parts));
document.body.appendChild(img);
});
});
View
2  examples/helloworld/index.html
@@ -15,7 +15,7 @@
stream.on('end', function(){
// Display new data in browser!
var img = document.createElement("img");
- img.src =(webkitURL||URL).createObjectURL(new Blob(parts));
+ img.src = (window.URL || window.webkitURL).createObjectURL(new Blob(parts));
document.body.appendChild(img);
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.