I hereby claim:
- I am nullvoxpopuli on github.
 - I am nullvoxpopuli (https://keybase.io/nullvoxpopuli) on keybase.
 - I have a public key ASBdAM3xFHnPFpBs2S3HffJ93uB48AXqC19NHjr41BZ4Bwo
 
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
| const parseScannedData = assign((context, event) => { | |
| let { json } = event; | |
| let isValid = Array.isArray(json); | |
| if (!isValid) { | |
| raise('SCAN_ERROR'); | |
| return context; | |
| } | 
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
| // for emberclear.io | |
| // "Transfer Account to a new Device" | |
| const transferToDeviceMachine = Machine({ | |
| id: 'transfer-to-device', | |
| initial: 'idle', | |
| states: { | |
| idle: { | |
| on: { | |
| // 1. (Source) | 
Goals:
Nomenclature:
| import Ember from 'ember'; | |
| import ObjectProxy from '@ember/object/proxy'; | |
| import EmberObject from '@ember/object'; | |
| import { assert } from '@ember/debug'; | |
| let object = EmberObject.create({ | |
| name: 'Foo' | |
| }); | |
| let object2 = EmberObject.create({ | 
| import Ember from 'ember'; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| queryParams: ['a'], | |
| actions: { | |
| eh() { | |
| this.set('a', Math.random()); |