Ver código fonte

Minor improvements to error messages used in manual tests and a sample. [skip ci]

Aleksander Nowodzinski 6 anos atrás
pai
commit
50170674d3

+ 2 - 2
packages/ckeditor5-build-classic/README.md

@@ -42,7 +42,7 @@ And use it in your website:
 			window.editor = editor;
 		} )
 		.catch( error => {
-			console.error( 'There was a problem with initializing the editor', error );
+			console.error( 'There was a problem initializing the editor.', error );
 		} );
 </script>
 ```
@@ -61,7 +61,7 @@ ClassicEditor
 		window.editor = editor;
 	} )
 	.catch( error => {
-		console.error( 'There was a problem with initializing the editor', error );
+		console.error( 'There was a problem initializing the editor.', error );
 	} );
 ```
 

+ 1 - 1
packages/ckeditor5-build-classic/sample/index.html

@@ -33,7 +33,7 @@
 			window.editor = editor;
 		} )
 		.catch( error => {
-			console.error( 'There was a problem with initializing the editor', error );
+			console.error( 'There was a problem initializing the editor.', error );
 		} );
 </script>
 

+ 2 - 2
packages/ckeditor5-build-classic/tests/manual/ckeditor-amd-version.html

@@ -38,7 +38,7 @@
 				window.editor = editor;
 			} )
 			.catch( error => {
-				console.error( 'There was a problem with initializing the editor', error );
+				console.error( 'There was a problem initializing the editor.', error );
 			} );
 	} );
 
@@ -51,7 +51,7 @@
 				window.editor = editor;
 			} )
 			.catch( error => {
-				console.error( 'There was a problem with initializing the editor', error );
+				console.error( 'There was a problem initializing the editor.', error );
 			} );
 	} );
 </script>

+ 1 - 1
packages/ckeditor5-build-classic/tests/manual/ckeditor-cjs-version.js

@@ -13,5 +13,5 @@ ClassicEditor.create( document.querySelector( '#editor' ) )
 		window.editor = editor;
 	} )
 	.catch( error => {
-		console.error( 'There was a problem with initializing the editor', error );
+		console.error( 'There was a problem initializing the editor.', error );
 	} );

+ 2 - 2
packages/ckeditor5-build-classic/tests/manual/ckeditor-global-version.html

@@ -38,7 +38,7 @@
 			window.editor = editor;
 		} )
 		.catch( error => {
-			console.error( 'There was a problem with initializing the editor', error );
+			console.error( 'There was a problem initializing the editor.', error );
 		} );
 
 	ClassicEditor
@@ -49,7 +49,7 @@
 			window.editor = editor;
 		} )
 		.catch( error => {
-			console.error( 'There was a problem with initializing the editor', error );
+			console.error( 'There was a problem initializing the editor.', error );
 		} );
 </script>
 

+ 1 - 1
packages/ckeditor5-build-classic/tests/manual/ckeditor.js

@@ -12,5 +12,5 @@ ClassicEditor.create( document.querySelector( '#editor' ) )
 		window.editor = editor;
 	} )
 	.catch( error => {
-		console.error( 'There was a problem with initializing the editor', error );
+		console.error( 'There was a problem initializing the editor.', error );
 	} );