diff --git a/README.md b/README.md index af9a76f..ec3c220 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,9 @@ canvas.toBlob(function(blob) { }); ``` +Note: The standard HTML5 `canvas.toBlob()` method is not available in all browsers. +[canvas-toBlob.js][6] is a cross-browser `canvas.toBlob()` that polyfills this. + ### Saving File You can save a File constructor without specifying a filename. The @@ -89,9 +92,6 @@ File itself already contains a name, There is a hand full of ways to get a file instance (from storage, file input, new constructor) But if you still want to change the name, then you can change it in the 2nd argument -Note: The standard HTML5 `canvas.toBlob()` method is not available in all browsers. -[canvas-toBlob.js][6] is a cross-browser `canvas.toBlob()` that polyfills this. - ```js var file = new File(["Hello, world!"], "hello world.txt", {type: "text/plain;charset=utf-8"}); saveAs(file);