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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Dumber Gist</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"> | |
<base href="/"> | |
</head> | |
<!-- | |
Dumber gist uses dumber bundler, the default bundle file |
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 |
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
Machine({ | |
id: 'registrationStateMachine', | |
initial: 'newRegistrationForm', | |
context: { | |
isApprovedBySponsor: false, | |
isApprovedBySysops: false, | |
isCertified: false, | |
registrationCancellationReason: '', | |
}, | |
states: { |
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
Machine({ | |
id: 'exampleMachine', | |
initial: 'start', | |
context: { | |
approved: false, | |
}, | |
states: { | |
start: { | |
on: { | |
SUBMITTED: 'stepOne' |
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
Machine({ | |
id: 'registrationStateMachine', | |
initial: 'newRegistrationForm', | |
context: { | |
certified: false, | |
}, | |
states: { | |
newRegistrationForm: { | |
on: { | |
REGISTRATION_FORM_SUBMITTED: { |
This file has been truncated, but you can view the full file.
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
{ | |
"name": "All", | |
"children": [ | |
{ | |
"name": "AllVehicles", | |
"children": [ | |
{ | |
"name": "Land", | |
"children": [ | |
{ |
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
{ | |
"name": "All", | |
"children": [ | |
{ | |
"name": "MGunCore", | |
"children": [ | |
{ | |
"name": "MGun", | |
"children": [ | |
{ |
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 {autoinject} from 'aurelia-dependency-injection'; | |
import {Project, ProjectItem, CLIOptions, UI} from 'aurelia-cli'; | |
import * as path from 'path'; | |
@autoinject() | |
export default class StyledComponentGenerator { | |
constructor(private project: Project, private options: CLIOptions, private ui: UI) { } | |
execute() { | |
return this.ui |
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
<template> | |
<require from='./list.html'></require> | |
<list title="${title}" list="${arr}"></list> | |
</template> |
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
<template> | |
<style> | |
html { | |
box-sizing:border-box; | |
} | |
*, *::before, *::after { | |
box-sizing: inherit; | |
} | |
body { |
NewerOlder