I hereby claim:
- I am rglover on github.
- I am glover (https://keybase.io/glover) on keybase.
- I have a public key whose fingerprint is C4A8 6E78 B3EB 4D1E CC27 9965 E66E 2D94 84A8 88AD
To claim this, I am signing this object:
import fuzzysort from "fuzzysort"; | |
class Combobox { | |
constructor(element, options = {}) { | |
this.container = element; | |
this.select = element.querySelector('.mod-combobox-select'); | |
this.selectedText = this.select.querySelector('p'); | |
this.dropdown = element.querySelector('.mod-combobox-dropdown'); | |
this.input = this.dropdown.querySelector('.mod-input'); | |
this.list = this.dropdown.querySelector('ul'); |
const express = require('express'); | |
const http2 = require('http2'); | |
const fs = require('fs'); | |
const app = express(); | |
app.get('/', (req, res) => { | |
res.send('Hello, HTTP/2 World!'); | |
}); |
[ | |
{ | |
"code": "af", | |
"name": "Afrikaans" | |
}, | |
{ | |
"code": "af-ZA", | |
"name": "Afrikaans (South Africa)" | |
}, | |
{ |
const events = [ | |
"readystatechange", | |
"pointerlockchange", | |
"pointerlockerror", | |
"beforecopy", | |
"beforecut", | |
"beforepaste", | |
"freeze", | |
"resume", | |
"search", |
export default [ | |
"bold", | |
"brave", | |
"bright", | |
"cheerful", | |
"deft", | |
"devoted", | |
"eager", | |
"elegant", | |
"faithful", |
// Tiny JSX renderer in TypeScript inspired by plain-jxs: https://github.com/callumlocke/plain-jsx | |
// Babel would allow you to specify the factory function as special inline comment: | |
/** @jsx JSXrender */ | |
let JSXrender = (tagName: string, attributes?: { [key: string]: any }, ...children: Array<HTMLElement | string>): HTMLElement => { | |
if (!tagName || typeof tagName !== 'string') | |
throw new Error("tagName has to be defined, non-empty string"); |
export default [ | |
{ code: "AF", name: "Afghanistan" }, | |
{ code: "AX", name: "\u00c5land Islands" }, | |
{ code: "AL", name: "Albania" }, | |
{ code: "DZ", name: "Algeria" }, | |
{ code: "AS", name: "American Samoa" }, | |
{ code: "AD", name: "Andorra" }, | |
{ code: "AO", name: "Angola" }, | |
{ code: "AI", name: "Anguilla" }, | |
{ code: "AQ", name: "Antarctica" }, |
I hereby claim:
To claim this, I am signing this object:
.prettyprint .str, code .str { color: #a9758c; } /* string */ | |
.prettyprint .kwd, code .kwd { color: #d58840; } /* keyword */ | |
.prettyprint .com, code .com { color: #767979; font-style: italic; } /* comment */ | |
.prettyprint .typ, code .typ { color: #80aac6; } /* type */ | |
.prettyprint .lit, code .lit { color: #ac758c; } /* literal */ | |
.prettyprint .pun, code .pun { color: #fff; } /* punctuation */ | |
.prettyprint .pln, code .pln { color: #fff; } /* plaintext */ | |
.prettyprint .tag, code .tag { color: #fecf84; } /* html/xml tag */ | |
.prettyprint .atn, code .atn { color: #ce8a45; } /* html/xml attribute name */ | |
.prettyprint .atv, code .atv { color: #b2c869; } /* html/xml attribute value */ |