Skip to content

Commit a9909bb

Browse files
committed
More documentation fixes
1 parent 394e6b5 commit a9909bb

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cocos2d/actions/CCAction.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ cc.FiniteTimeAction = cc.Action.extend(/** @lends cc.FiniteTimeAction# */{
274274
* - The reversed action will be x of 100 move to 0.
275275
* - Will be rewritten
276276
*
277-
* @return {Null}
277+
* @return {?cc.Action}
278278
*/
279279
reverse:function () {
280280
cc.log("cocos2d: FiniteTimeAction#reverse: Implement me");

cocos2d/core/CCCamera.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* - It is recommended to use it ONLY if you are going to create 3D effects. For 2D effecs, use the action CCFollow or position/scale/rotate. *
4444
* </p>
4545
*/
46-
cc.Camera = cc.Class.extend({
46+
cc.Camera = cc.Class.extend(/** @lends cc.Camera# */{
4747
_eyeX:null,
4848
_eyeY:null,
4949
_eyeZ:null,

cocos2d/node-grid/CCNodeGrid.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* @property {cc.GridBase} grid - Grid object that is used when applying effects
3434
* @property {cc.Node} target - <@writeonly>Target
3535
*/
36-
cc.NodeGrid = cc.Node.extend({
36+
cc.NodeGrid = cc.Node.extend(/** @lends cc.NodeGrid# */{
3737
grid: null,
3838
_target: null,
3939
_gridRect:null,
@@ -61,7 +61,7 @@ cc.NodeGrid = cc.Node.extend({
6161

6262
/**
6363
* @brief Set the effect grid rect.
64-
* @param {cc.rect} rect.
64+
* @param {cc.rect} rect
6565
*/
6666
setGridRect: function (rect) {
6767
this._gridRect = rect;
@@ -147,4 +147,4 @@ cc.defineGetterSetter(_p, "target", null, _p.setTarget);
147147
*/
148148
cc.NodeGrid.create = function () {
149149
return new cc.NodeGrid();
150-
};
150+
};

0 commit comments

Comments
 (0)