Browse Source

Fix dangling comma.

Maciej Gołaszewski 5 years ago
parent
commit
3f2239c618

+ 1 - 1
packages/ckeditor5-mention/docs/_snippets/features/mention-customization.js

@@ -15,7 +15,7 @@ ClassicEditor
 			items: [
 				'heading', '|', 'bold', 'italic', '|', 'undo', 'redo'
 			],
-			viewportTopOffset: window.getViewportTopOffsetConfig(),
+			viewportTopOffset: window.getViewportTopOffsetConfig()
 		},
 		mention: {
 			feeds: [

+ 2 - 2
packages/ckeditor5-mention/tests/mentioncommand.js

@@ -104,7 +104,7 @@ describe( 'MentionCommand', () => {
 			command.execute( {
 				marker: '#',
 				mention: '#John',
-				range: model.createRange( start, end ),
+				range: model.createRange( start, end )
 			} );
 
 			assertMention( doc.getRoot().getChild( 0 ).getChild( 1 ), '#John' );
@@ -142,7 +142,7 @@ describe( 'MentionCommand', () => {
 
 			const testCases = [
 				{ marker: '##', mention: '##foo' },
-				{ marker: '', mention: '@foo' },
+				{ marker: '', mention: '@foo' }
 			];
 
 			for ( const options of testCases ) {