This commit is contained in:
pengfei.zhou 2021-08-24 11:58:04 +08:00 committed by osborn
parent 04cfbf49d8
commit 598bde8442
4 changed files with 6 additions and 3 deletions

View File

@ -1449,6 +1449,9 @@ var doric = (function (exports) {
var className = arguments[1];
var srcContext = gContexts.get(srcContextId);
if (srcContext) {
srcContext.classes.forEach(function (v, k) {
context === null || context === void 0 ? void 0 : context.classes.set(k, v);
});
var clz = srcContext.classes.get(className);
if (clz) {
return exportFunc(clz);

View File

@ -4811,7 +4811,7 @@ global$1.nativeBridge = () => {
console.error("Do not call here in debugging");
return false;
};
global$1.Envrionment = new Proxy({}, {
global$1.Environment = new Proxy({}, {
get: (target, p, receiver) => {
console.error("Environment Getter", new Error().stack);
console.error("Do not call here in debugging");

View File

@ -217,7 +217,7 @@ global.nativeBridge = () => {
return false;
}
global.Envrionment = new Proxy({}, {
global.Environment = new Proxy({}, {
get: (target, p, receiver) => {
console.error("Environment Getter", new Error().stack);
console.error("Do not call here in debugging");

View File

@ -221,7 +221,7 @@ global.nativeBridge = () => {
console.error("Do not call here in debugging");
return false;
};
global.Envrionment = new Proxy({}, {
global.Environment = new Proxy({}, {
get: (target, p, receiver) => {
console.error("Environment Getter", new Error().stack);
console.error("Do not call here in debugging");