Skip to content

Commit

Permalink
test: remove unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Jan 30, 2022
1 parent 195ec08 commit edb33cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ export class SimpleLayout {
@State() flowMap: any = {};
@State() slots: any[] = [];

// build logic
// 1. collection element of layouts before render.
// 2. recursive layout and append element to node
componentWillRender() {
this.createFlows();
}

// 1. collection element of layouts before render.
// 2. recursive layout and append element to node.
private createFlows() {
const that = this;
if (!(this.layout.rows && this.layout.rows.length > 0)) {
Expand All @@ -57,6 +56,7 @@ export class SimpleLayout {
default:
console.log("not supported type: " + component.component_type);
}

colId = colId + 1;
}
rowId = rowId + 1;
Expand Down Expand Up @@ -124,9 +124,10 @@ export class SimpleLayout {
{this.layout.rows.map((row, rowId) =>
<ion-row>
{row.columns.map((col, colId) =>
<ion-col class="quake-component" size={col.width.toString()}
style={SimpleLayout.countHeight(col.height)}
ref={(el) => (this.addElementToMap(el, SimpleLayout.layoutId(rowId, colId)))}>
<ion-col
class="quake-component" size={col.width.toString()}
style={SimpleLayout.countHeight(col.height)}
ref={(el) => (this.addElementToMap(el, SimpleLayout.layoutId(rowId, colId)))}>
</ion-col>
)}
</ion-row>
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit edb33cd

Please sign in to comment.