remove debugger

This commit is contained in:
wanying.jwy 2020-09-10 11:28:59 +08:00
parent 7fe13d15e3
commit c44cb3846b
3 changed files with 0 additions and 6 deletions

View File

@ -74,7 +74,6 @@ export class Project {
...schema,
};
this.config = schema?.config;
debugger;
if (autoOpen) {
if (autoOpen === true) {

View File

@ -167,7 +167,6 @@ class Renderer extends Component<{
const { container } = documentInstance;
const { designMode, device } = container;
const { rendererContainer: renderer } = this.props;
debugger;
return (
<RaxEngine
schema={documentInstance.schema}

View File

@ -45,7 +45,6 @@ function buildComponents(
componentsMap: { [componentName: string]: NpmInfo | ComponentType<any> | ComponentSchema },
createComponent: (schema: ComponentSchema) => Component | null,
) {
debugger;
const components: any = {
...builtinComponents,
};
@ -243,13 +242,10 @@ export class SimulatorRendererContainer implements BuiltinSimulatorRenderer {
}
constructor() {
debugger;
this.dispose = host.connect(this, () => {
// sync layout config
// debugger;
this._layout = host.project.get('config').layout;
console.log("haha");
debugger;
// todo: split with others, not all should recompute
if (this._libraryMap !== host.libraryMap || this._componentsMap !== host.designer.componentsMap) {
this._libraryMap = host.libraryMap || {};