Fix a typo, this._is_nativeObj -> this.__nativeObj.

This commit is contained in:
James Chen 2014-01-26 14:45:45 +08:00
parent 952cd1d836
commit 6ecc8d37c5
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ cc.Class.extend = function (prop) {
// All construction is actually done in the init method
if (!initializing) {
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`");
}
else {