Adding cc.TextureCache.getInstance() to jsb_deprecated.js.

This commit is contained in:
James Chen 2013-11-11 15:46:00 +08:00
parent 20b350a58b
commit 49289d7576
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ var cc = cc || {};
cc.AnimationCache.destroyInstance();
};
cc.TextureCache.getInstance = function() {
return cc.Director.getInstance().getTextureCache();
};
// Deprecated member functions
cc.Action.prototype.copy = function() {
logW("cc.Action.copy", "cc.Action.clone");