mirror of https://github.com/axmolengine/axmol.git
Fix a typo, this._is_nativeObj -> this.__nativeObj.
This commit is contained in:
parent
952cd1d836
commit
6ecc8d37c5
|
@ -652,7 +652,7 @@ cc.Class.extend = function (prop) {
|
||||||
// All construction is actually done in the init method
|
// All construction is actually done in the init method
|
||||||
if (!initializing) {
|
if (!initializing) {
|
||||||
if (!this.ctor) {
|
if (!this.ctor) {
|
||||||
if (this._is_nativeObj)
|
if (this.__nativeObj)
|
||||||
cc.log("No ctor function found! Please check whether `classes_need_extend` section in `ini` file like which in `tools/tojs/cocos2dx.ini`");
|
cc.log("No ctor function found! Please check whether `classes_need_extend` section in `ini` file like which in `tools/tojs/cocos2dx.ini`");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue