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, ...schema,
}; };
this.config = schema?.config; this.config = schema?.config;
debugger;
if (autoOpen) { if (autoOpen) {
if (autoOpen === true) { if (autoOpen === true) {

View File

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

View File

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