Skip to content

Commit 7000e3e

Browse files
Adding property to prototype
1 parent fe99429 commit 7000e3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cocos2d/platform/CCClass.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ ClassManager.getNewInstanceId=function(){
147147
prototype[name] = prop[name];
148148
}
149149
}
150+
prototype.__instanceId = null;
150151

151152
// The dummy Class constructor
152153
function Class() {

0 commit comments

Comments
 (0)