You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
var bb = new BlobBuilder(); // Note: window.WebKitBlobBuilder in Chrome 12.
Uncaught ReferenceError: BlobBuilder is not defined
window.WebKitBlobBuilder is deprecated.
It suggests that you use Blob instead, but that doesn't have the same API.
// Capture current iteration's file in local scope for the getFile() callback.
(function(f) {
fs.root.getFile(file.name, {create: true, exclusive: true}, function(fileEntry) {
fileEntry.createWriter(function(fileWriter) {
fileWriter.write(f); // Note: write() can take a File or Blob object.
}, errorHandler);
}, errorHandler);
})(file);
Should it be fs.root.getFile(f.name, ...)?
I'm trying to run the HTML file in the "PUTTING IT ALL TOGETHER" section. When
I copy-and-paste the code into my editor (Sublime Text 2), and then load it in
a browser, I see "​" at the end of the page. I assumed that this was an
encoding issue. The problem went away once I added the following to the head:
Here are some problems I found while reading: http://www.html5rocks.com/en/tutorials/file/filesystem/
Uncaught ReferenceError: BlobBuilder is not defined
window.WebKitBlobBuilder is deprecated.
It suggests that you use Blob instead, but that doesn't have the same API.
Should it be fs.root.getFile(f.name, ...)?
I'm trying to run the HTML file in the "PUTTING IT ALL TOGETHER" section. When
I copy-and-paste the code into my editor (Sublime Text 2), and then load it in
a browser, I see "​" at the end of the page. I assumed that this was an
encoding issue. The problem went away once I added the following to the head:
Note, I was serving the file using Python's, simple builtin web server which
you can start via:
The text was updated successfully, but these errors were encountered: