Merge pull request #1149 from jareguo/master

Update CCVec2.js
This commit is contained in:
Jare Guo
2016-09-26 01:21:20 +08:00
committed by GitHub
+2 -2
View File
@@ -555,7 +555,7 @@ JS.get(Vec2, 'ZERO', function () {
/**
* !#en return a Vec2 object with x = 0 and y = 1.
* !#zh 返回 x = 0 和 y = 1 的 Vec2 对象。
* @property up
* @property UP
* @type Vec2
* @static
*/
@@ -628,4 +628,4 @@ cc.pointEqualToPoint = function (point1, point2) {
return point1 && point2 && (point1.x === point2.x) && (point1.y === point2.y);
};
module.exports = cc.Vec2;
module.exports = cc.Vec2;