Browse Source

Flow.js: Remove unnecessary constructor arguments. (#25747)

sunag 2 năm trước cách đây
mục cha
commit
a55464eacb
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      playground/libs/flow.module.js

+ 3 - 3
playground/libs/flow.module.js

@@ -3074,7 +3074,7 @@ class ContextMenu extends Menu {
 
 	constructor( target = null ) {
 
-		super( 'context', target );
+		super( 'context' );
 
 		this.events.context = [];
 
@@ -3264,9 +3264,9 @@ class ContextMenu extends Menu {
 
 class CircleMenu extends Menu {
 
-	constructor( target = null ) {
+	constructor() {
 
-		super( 'circle', target );
+		super( 'circle' );
 
 	}