const machine = Machine({
id: 'toggle',
initial: 'inactive',
states: {
inactive: { on: { TOGGLE: 'active' } },
active: { on: { TOGGLE: 'inactive' } }
}
});
This file contains hidden or 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 |
Uncaught (in promise) Error: Undefined binding(s) detected when compiling SELECT query: select * from `user_site_sessions` where `userId` = ? and `url` = ?
at HTMLElement.load (main.js:97)
at new ExplorerApp (main.js:59)
at drive-handler.js:3
This file contains hidden or 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 EmberRouter from '@ember/routing/router'; | |
import { inject as service } from '@ember/service'; | |
import config from './config/environment'; | |
export default class Router extends EmberRouter { | |
@service metrics; | |
@service router; | |
@service fastboot; | |
@service headData; |
This file contains hidden or 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
const colors = [ | |
'transparent', // transparent | |
'#000', // black | |
'#fff', // white | |
// gray | |
'#f7fafc', // 100 | |
'#edf2f7', // 200 | |
'#e2e8f0', // 300 | |
'#cbd5e0', // 400 |
jquery.js:3827 Uncaught TypeError: Cannot redefine property: 0
at Function.defineProperties (<anonymous>)
at new Microstate<Field> (microstates.cjs.js:893)
at create (microstates.cjs.js:875)
at expandProperty (microstates.cjs.js:948)
at self (microstates.cjs.js:896)
at Microstate.get [as name] (microstates.cjs.js:732)
at Id.get name (microstates.cjs.js:241)
at eval (funcadelic.es.js:343)
This file contains hidden or 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 Ember from 'ember'; | |
export default Ember.Component.extend({ | |
didInsertElement() { | |
let shadow = this.element.attachShadow({mode: 'open'}); | |
this.set('shadow', shadow); | |
} | |
}); |
This file contains hidden or 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 Ember from 'ember'; | |
export default Ember.Component.extend({ | |
}); |