Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Latest third_party, updating to use the new Blob constructor

  • Loading branch information...
commit 2fec2f682de640da5fe3fa9034a9f2b3f8ea0805 1 parent 14359e7
@benvanik authored
View
7 src/gf/io/html/htmlfilewriter.js
@@ -153,7 +153,12 @@ gf.io.html.HtmlFileWriter.prototype.write = function(offset, var_args) {
}
var args = Array.prototype.slice.call(arguments, 1);
- var blob = goog.fs.getBlob.apply(goog.global, args);
+ for (var n = 0; n < args.length; n++) {
+ if (args[n] instanceof ArrayBuffer) {
+ args[n] = new Uint8Array(args[n]);
+ }
+ }
+ var blob = new Blob(args);
if (offset > this.getLength()) {
this.setLength(offset + blob.size).addCallbacks(
2  third_party/closure-library
@@ -1 +1 @@
-Subproject commit d74523791580cb336008a6cc99d7c92cfcf1a35a
+Subproject commit 12cabbdf826699dab85447356d205d4bb29df059
2  third_party/ws
@@ -1 +1 @@
-Subproject commit fb501900616bed5ad794b0cb07567cbb7b100891
+Subproject commit 41084f15ca3f819fa70f410ab76c138a03e62679
Please sign in to comment.
Something went wrong with that request. Please try again.