清理代码

pull/224/MERGE
ChenX 6 years ago
parent 12a6dfe5ff
commit 61befa3f3a

@ -4,7 +4,7 @@ import { app } from "../ApplicationServices/Application";
const requireIndirect =
typeof __webpack_require__ !== 'undefined' ? __webpack_require__ : require;
const makeHotExport = sourceModule =>
const makeHotExport = function (sourceModule): any
{
const updateModule = (possibleError?) =>
{
@ -55,7 +55,7 @@ const makeHotExport = sourceModule =>
{
updateModule();
}
})
});
}
}
}
@ -73,7 +73,6 @@ export const HotCMD =
// remove itself from a cache
delete cache[module.id];
// setup hot for caller
//@ts-ignore
return makeHotExport(Object.assign({ id: parent.i }, parent));
} else
{

Loading…
Cancel
Save