fix containsRect api error for creator-api-docs/issues/19 (#2333)

This commit is contained in:
Knox
2018-02-12 13:38:23 +08:00
committed by Jare Guo
parent e0532e0551
commit dfdc70a740
+2 -2
View File
@@ -346,8 +346,8 @@ proto.contains = function (point) {
* @param {Rect} rect
* @type {Boolean}
* @example
* var a = new cc.Rect(0, 0, 10, 10);
* var b = new cc.Rect(0, 0, 20, 20);
* var a = new cc.Rect(0, 0, 20, 20);
* var b = new cc.Rect(0, 0, 10, 10);
* a.containsRect(b);// true
*/
proto.containsRect = function (rect) {