ソースを参照

Fix dangling comma.

Maciej Gołaszewski 5 年 前
コミット
45f40e59a5

+ 1 - 1
packages/ckeditor5-link/src/ui/linkactionsview.js

@@ -117,7 +117,7 @@ export default class LinkActionsView extends View {
 			attributes: {
 				class: [
 					'ck',
-					'ck-link-actions',
+					'ck-link-actions'
 				],
 
 				// https://github.com/ckeditor/ckeditor5-link/issues/90

+ 2 - 2
packages/ckeditor5-link/tests/linkcommand.js

@@ -367,14 +367,14 @@ describe( 'LinkCommand', () => {
 
 				expect( decoratorStates( command.manualDecorators ) ).to.deep.equal( {
 					linkIsFoo: false,
-					linkIsBar: true,
+					linkIsBar: true
 				} );
 
 				command.restoreManualDecoratorStates();
 
 				expect( decoratorStates( command.manualDecorators ) ).to.deep.equal( {
 					linkIsFoo: true,
-					linkIsBar: true,
+					linkIsBar: true
 				} );
 			} );
 		} );

+ 1 - 1
packages/ckeditor5-link/tests/linkediting.js

@@ -604,7 +604,7 @@ describe( 'LinkEditing', () => {
 					.create( {
 						plugins: [ Paragraph, LinkEditing, Enter, CustomLinks ],
 						link: {
-							addTargetToExternalLinks: true,
+							addTargetToExternalLinks: true
 						}
 					} )
 					.then( newEditor => {

+ 1 - 1
packages/ckeditor5-link/tests/ui/linkformview.js

@@ -102,7 +102,7 @@ describe( 'LinkFormView', () => {
 			expect( view._focusables.map( f => f ) ).to.have.members( [
 				view.urlInputView,
 				view.saveButtonView,
-				view.cancelButtonView,
+				view.cancelButtonView
 			] );
 		} );