Skip to content

Commit aab335a

Browse files
committed
Fix signature for cc.color.
1 parent 7065dbf commit aab335a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cocos2d/core/platform/CCTypes.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ cc.Color = function (r, g, b, a) {
5656
* Alpha channel is optional. Default value is 255
5757
*
5858
* @param {Number|String|cc.Color} r
59-
* @param {Number} g
60-
* @param {Number} b
59+
* @param {Number} [g]
60+
* @param {Number} [b]
6161
* @param {Number} [a=255]
6262
* @return {cc.Color}
6363
*/

0 commit comments

Comments
 (0)