From 47ff4cd74afe17b74e0fb47337ef60e2784e4838 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jimmy=20Karl=20Roland=20W=C3=A4rting?= Date: Tue, 31 May 2016 09:46:57 +0200 Subject: [PATCH] moved some text --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);