Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Update src/imageupload/utils.js
Browse files Browse the repository at this point in the history
Co-Authored-By: f1ames <dr.odpowiedz@gmail.com>
  • Loading branch information
jodator and f1ames committed Jan 15, 2019
1 parent 4be2897 commit 876cc3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/imageupload/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export function isImageType( file ) {
* Creates a promise which fetches the image local source (base64 or blob) and resolves with a `File` object.
*
* @param {module:engine/view/element~Element} image Image which source to fetch.
* @returns {Promise} A promise which resolves when image source is fetched and converted to `File` instance.
* @returns {Promise.<File>} A promise which resolves when image source is fetched and converted to `File` instance.
* It resolves with a `File` object. If there were any errors during file processing the promise will be rejected.
*/
export function fetchLocalImage( image ) {
Expand Down

0 comments on commit 876cc3c

Please sign in to comment.