View machine.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions | |
// - XState (all XState exports) |
View machine.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
View route-application.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class ApplicationRoute extends Route { | |
model(params, transition) { | |
if (this.fastboot && this.fastboot.isFastBoot) { | |
let promise = new Promise((resolve, reject) => { | |
let poll = () => { | |
later(() => { | |
if (this.finder.inFlightRequests.length === 0 && this.query.inFlightQueriesCount === 0) { | |
scheduleOnce("afterRender", this, resolve) |
View controllers.application\.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Controller from '@ember/controller'; | |
import ArrayProxy from "@ember/array/proxy" | |
import PromiseProxyMixin from "@ember/object/promise-proxy-mixin" | |
import { all } from "rsvp" | |
import { computed } from "@ember/object" | |
const ArrayPromiseProxy = ArrayProxy.extend(PromiseProxyMixin) | |
export default class ApplicationController extends Controller { | |
ids = [1, 2, 3] |
View controllers.application\.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Controller from '@ember/controller'; | |
import {computed, get, action, set} from "@ember/object"; | |
export default class ApplicationController extends Controller { | |
appName = 'Ember Twiddle'; | |
} |
View controllers.application\.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Controller from '@ember/controller'; | |
import {action, set, get} from "@ember/object"; | |
import {tracked} from "@glimmer/tracking"; | |
import { | |
TrackedObject, | |
TrackedArray | |
} from 'tracked-built-ins'; | |
export default class ApplicationController extends Controller { |
View SketchSystems.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Group Payment Flow | |
trial | |
request-quote -> awaiting-purchase-order | |
request-invoice -> awaiting-payment | |
expired -> trial-expired | |
trial-expired | |
request-quote -> awaiting-purchase-order | |
request-invoice -> awaiting-payment | |
expired -> group-closed | |
awaiting-purchase-order |
View SketchSystems.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Group Payment Flow | |
trial-new | |
expired -> trial-expired | |
credit-card -> paid-up | |
request-po -> trial-awaiting-payment | |
trial-expired | |
expired -> group-closed | |
trial-awaiting-payment | |
expired -> group-closed | |
payment-received -> paid-up |
View SketchSystems.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up | |
Name and email* | |
Next -> Step 2 how planbooks work | |
Step 2 how planbooks work | |
Next -> Step 3 planbook title and year | |
Step 3 planbook title and year | |
Next -> Step 4 Share with group | |
Next if not part of a group -> Planbook Setup | |
Step 4 Share with group | |
Next -> Planbook Setup |
View enhancers.index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { compose } from 'redux'; | |
var devtools = window.__REDUX_DEVTOOLS_EXTENSION__ ? window.__REDUX_DEVTOOLS_EXTENSION__() : f => f; | |
var composed = compose(devtools); | |
window.__REDUX_DEVTOOLS_EXTENSION__.open(); | |
export default composed |
NewerOlder