linbingquan 4 лет назад
Родитель
Сommit
866403b0e2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docs/api/zh/core/EventDispatcher.html

+ 1 - 1
docs/api/zh/core/EventDispatcher.html

@@ -20,7 +20,7 @@
 		<code>
 		// 为自定义对象添加事件
 
-		const Car extends EventDispatcher () {
+		class Car extends EventDispatcher () {
 
 			start() {