Entry add exports defination
This commit is contained in:
@@ -1395,7 +1395,7 @@ var doric = (function (exports) {
|
||||
}
|
||||
function jsObtainEntry(contextId) {
|
||||
const context = jsObtainContext(contextId);
|
||||
return (constructor) => {
|
||||
const exportFunc = (constructor) => {
|
||||
const ret = class extends constructor {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
@@ -1407,6 +1407,14 @@ var doric = (function (exports) {
|
||||
}
|
||||
return ret;
|
||||
};
|
||||
return (args) => {
|
||||
if (args instanceof Array) {
|
||||
return exportFunc;
|
||||
}
|
||||
else {
|
||||
return exportFunc(args);
|
||||
}
|
||||
};
|
||||
}
|
||||
const global$1 = Function('return this')();
|
||||
let __timerId__ = 0;
|
||||
|
||||
Reference in New Issue
Block a user