From cf92fc7c787c724e8b02fbf9ae5007a7d8402e1e Mon Sep 17 00:00:00 2001 From: Jare Guo Date: Fri, 9 Jun 2017 09:53:36 +0800 Subject: [PATCH] fix api doc --- extensions/ccpool/CCNodePool.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/ccpool/CCNodePool.js b/extensions/ccpool/CCNodePool.js index 1a0dac324d..a11c9a9ab7 100644 --- a/extensions/ccpool/CCNodePool.js +++ b/extensions/ccpool/CCNodePool.js @@ -56,7 +56,7 @@ * !#zh * 使用构造函数来创建一个节点专用的对象池,您可以传递一个组件类型或名称,用于处理节点回收和复用时的事件逻辑。 * @method constructor - * @param {[Function|String]} poolHandlerComp !#en The constructor or the class name of the component to control the unuse/reuse logic. !#zh 处理节点回收和复用事件逻辑的组件类型或名称。 + * @param {Function|String} [poolHandlerComp] !#en The constructor or the class name of the component to control the unuse/reuse logic. !#zh 处理节点回收和复用事件逻辑的组件类型或名称。 * @example * properties: { * template: cc.Prefab