No more Refs, no more store, every top level def goes in the store, to update store values use :=
This commit is contained in:
parent
31ef279f16
commit
70569dfe48
9 changed files with 58 additions and 74 deletions
|
|
@ -45,7 +45,7 @@ try {
|
|||
const update = appRecord.fields.update;
|
||||
const view = appRecord.fields.view;
|
||||
|
||||
runApp({ init, update, view }, canvas, cgCode);
|
||||
runApp({ init, update, view }, canvas, cgCode, env);
|
||||
} catch(error) {
|
||||
console.log('CAUGHT ERROR:', error);
|
||||
console.log('Is CGError??', error instanceof CGError);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue