mirror of https://github.com/axmolengine/axmol.git
Adding cc.TextureCache.getInstance() to jsb_deprecated.js.
This commit is contained in:
parent
20b350a58b
commit
49289d7576
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue