Krzysztof Krztoń 6 lat temu
rodzic
commit
7acc752163
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/ckeditor5-upload/src/filerepository.js

+ 1 - 1
packages/ckeditor5-upload/src/filerepository.js

@@ -188,7 +188,7 @@ export default class FileRepository extends Plugin {
 			} );
 		}
 
-		// Catch the file promise rejection. If there are no `catch` closures, the browser
+		// Catch the file promise rejection. If there are no `catch` clause, the browser
 		// will throw an error (see https://github.com/ckeditor/ckeditor5-upload/pull/90).
 		loader.file.catch( () => {
 			// The error will be handled by `FileLoader` so no action is required here.