From 736e13a8151523264d870871b8aa11d9ab209c5e Mon Sep 17 00:00:00 2001 From: minggo Date: Fri, 4 Sep 2020 17:59:23 +0800 Subject: [PATCH] sync from 1.2 (#7314) * sync from 1.2 * delete unneeded codes --- cocos/core/data/instantiate-jit.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cocos/core/data/instantiate-jit.ts b/cocos/core/data/instantiate-jit.ts index 32f58c4f5bf..b7b8ddb5d57 100644 --- a/cocos/core/data/instantiate-jit.ts +++ b/cocos/core/data/instantiate-jit.ts @@ -52,12 +52,6 @@ const LOCAL_ARRAY = 'a'; const LINE_INDEX_OF_NEW_OBJ = 0; const DEFAULT_MODULE_CACHE = { - 'cc.Node': 'cc.Node', - 'cc.Sprite': 'cc.Sprite', - 'cc.Label': 'cc.Label', - 'cc.Button': 'cc.Button', - 'cc.Widget': 'cc.Widget', - 'cc.Animation': 'cc.Animation', 'cc.ClickEvent': false, 'cc.PrefabInfo': false, };