Skip to content

Commit

Permalink
Merge pull request cocos#2341 from nshmura/fix-types
Browse files Browse the repository at this point in the history
Fix types of CCPolygonCollier and CCPhysicsChainCollider
  • Loading branch information
jareguo authored Feb 17, 2018
2 parents 11c68ca + d8be5c4 commit 3a28f21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cocos2d/core/collider/CCPolygonCollider.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ cc.Collider.Polygon = cc.Class({
* !#en Polygon points
* !#zh 多边形顶点数组
* @property points
* @type {[Vec2]}
* @type {Vec2[]}
*/
points: {
tooltip: CC_DEV && 'i18n:COMPONENT.physics.physics_collider.points',
Expand Down
2 changes: 1 addition & 1 deletion cocos2d/core/physics/collider/CCPhysicsChainCollider.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ var PhysicsChainCollider = cc.Class({
* !#en Chain points
* !#zh 链条顶点数组
* @property points
* @type {[Vec2]}
* @type {Vec2[]}
*/
points: {
default: function () {
Expand Down

0 comments on commit 3a28f21

Please sign in to comment.