feat(core): Add default logging to store
This commit is contained in:
parent
575d7c3de8
commit
411f617ffe
3 changed files with 44 additions and 10 deletions
|
@ -86,7 +86,7 @@ export function Pattern(config = { options: {} }) {
|
|||
this.is = '' // Will be set when drafting/sampling
|
||||
this.autoLayout = { parts: {} } // Will hold auto-generated layout
|
||||
this.cutList = {} // Will hold the cutlist
|
||||
this.store = new Store([[ 'emit', this.raise]]) // Store for sharing data across parts
|
||||
this.store = new Store([[ 'log', this.raise]]) // Store for sharing data across parts
|
||||
this.parts = {} // Parts container
|
||||
this.hooks = new Hooks() // Hooks container
|
||||
this.Point = Point // Point constructor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue