diff --git a/cocos/base/CCScheduler.h b/cocos/base/CCScheduler.h index dfba4c4270..5bb91b397a 100644 --- a/cocos/base/CCScheduler.h +++ b/cocos/base/CCScheduler.h @@ -348,7 +348,7 @@ public: #if CC_ENABLE_SCRIPT_BINDING /** Unschedule a script entry. - * @warn Don't invoke this function unless you know what you are doing. + * @warning Don't invoke this function unless you know what you are doing. * @js NA * @lua NA */ diff --git a/cocos/network/HttpAsynConnection.m b/cocos/network/HttpAsynConnection.m index a9177d7805..3ad078c892 100755 --- a/cocos/network/HttpAsynConnection.m +++ b/cocos/network/HttpAsynConnection.m @@ -102,13 +102,13 @@ self.statusString = @"OK"; /*The individual values of the numeric status codes defined for HTTP/1.1 - | “200” ; OK - | “201” ; Created - | “202” ; Accepted - | “203” ; Non-Authoritative Information - | “204” ; No Content - | “205” ; Reset Content - | “206” ; Partial Content + | "200" ; OK + | "201" ; Created + | "202" ; Accepted + | "203" ; Non-Authoritative Information + | "204" ; No Content + | "205" ; Reset Content + | "206" ; Partial Content */ if (responseCode < 200 || responseCode >= 300) {// something went wrong, abort the whole thing diff --git a/cocos/physics/CCPhysicsJoint.h b/cocos/physics/CCPhysicsJoint.h index 557d69f8ac..b0359076d8 100644 --- a/cocos/physics/CCPhysicsJoint.h +++ b/cocos/physics/CCPhysicsJoint.h @@ -471,7 +471,7 @@ public: @param a A is the body to connect. @param b B is the body to connect. @param phase Phase is the initial offset to use when deciding where the ratchet angles are. - @param ratchet Ratchet is the distance between “clicks”. + @param ratchet Ratchet is the distance between "clicks". @return A object pointer. */ static PhysicsJointRatchet* construct(PhysicsBody* a, PhysicsBody* b, float phase, float ratchet); @@ -488,10 +488,10 @@ public: /** Set the initial offset.*/ void setPhase(float phase); - /** Get the distance between “clicks”.*/ + /** Get the distance between "clicks".*/ float getRatchet() const; - /** Set the distance between “clicks”.*/ + /** Set the distance between "clicks".*/ void setRatchet(float ratchet); virtual bool createConstraints() override;