Merge branch 'master' of github.com:nantas/engine

This commit is contained in:
Nan Wang
2016-02-05 00:21:39 +08:00
3 changed files with 7 additions and 3 deletions
-1
View File
@@ -329,7 +329,6 @@ cc._formatString = function (arg) {
/**
* Enum for debug modes.
* @enum DebugMode
* @readOnly
*/
cc.DebugMode = cc.Enum({
/**
+1 -1
View File
@@ -638,7 +638,7 @@ cc.Ripple3D = cc.Grid3DAction.extend(/** @lends cc.Ripple3D# */{
/**
* get Amplitude rate
* @return {*}
* @return {Number}
*/
getAmplitudeRate:function () {
return this._amplitudeRate;
+6 -1
View File
@@ -9,8 +9,13 @@ var AnimationNode = require('./types').AnimationNode;
* @class AnimationState
* @extends AnimationNode
* @constructor
*/
/**
* @method AnimationState
* @param {AnimationClip} clip
* @param {String} [name]
* @return AnimationState
*/
function AnimationState (clip, name) {
AnimationNode.call(this, null, null, {
@@ -28,7 +33,7 @@ var state = AnimationState.prototype;
* The clip that is being played by this animation state.
* @property clip
* @type {AnimationClip}
* @readOnly
* @final
*/
JS.get(state, 'clip', function () {
return this._clip;