Returning the blob since we might want to use it in our code
Making the autoSaveAs optional, sometimes we want to simply get a blob and handle saving ourselves.
Use case where I needed it: I needed to create a zip folder with js-zip, and wanted to save .doc files inside the zip folder. Therefor, I needed the blobs create by word-export. I was never going to save the doc files, I wanted to save the zip file. This commit performs the necessary changes to support such a use case, and is also 100% backwards compatible.
Use case where I needed it: I needed to create a zip folder with js-zip, and wanted to save .doc files inside the zip folder. Therefor, I needed the blobs create by word-export. I was never going to save the doc files, I wanted to save the zip file. This commit performs the necessary changes to support such a use case, and is also 100% backwards compatible.