Skip to content

Commit

Permalink
fix __ctor__ api for fireball/issues/6806
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxHuang committed Jan 9, 2018
1 parent 5bb43d2 commit d05ffd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos2d/core/platform/CCClass.js
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ function declareProperties (cls, className, properties, baseClass, mixins, es6)
* @param {String} [options.name] - The class name used for serialization.
* @param {Function} [options.extends] - The base class.
* @param {Function} [options.ctor] - The constructor.
* @param {Function} [options.__ctor__] - The same as ctor, but less encapsulated.
* @param {Function} [options.__ctor__] - The same as ctor, but less encapsulated.
* @param {Object} [options.properties] - The property definitions.
* @param {Object} [options.statics] - The static members.
* @param {Function[]} [options.mixins]
Expand Down

0 comments on commit d05ffd3

Please sign in to comment.