refactoring instructions to work with boardHost

This commit is contained in:
darzu
2016-08-31 11:14:16 -07:00
parent d9f2c7cc42
commit c2e37a2c6e
8 changed files with 260 additions and 211 deletions

View File

@@ -232,7 +232,7 @@ namespace pxsim.visuals {
this.componentDefs = props.componentDefinitions;
// breadboard
this.breadboard = new Breadboard()
this.breadboard = new Breadboard({})
this.g.appendChild(this.breadboard.bb);
let bbSize = this.breadboard.getSVGAndSize();
let [bbWidth, bbHeight] = [bbSize.w, bbSize.h];