I hereby claim:
- I am UnwrittenFun on github.
- I am unwrittenfun (https://keybase.io/unwrittenfun) on keybase.
- I have a public key whose fingerprint is 8804 7BA1 1E9A 5791 7BB4 45E0 4F24 9117 2B7F D6BE
To claim this, I am signing this object:
{"schemaVersion":1,"label":"branches","message":"2.33%","color":"red"} |
{"schemaVersion":1,"label":"branches","message":"30.82%","color":"red"} |
<script lang="ts"> | |
import type { HTMLAttributes, SvelteHTMLElements } from 'svelte/elements'; | |
type T = $$Generic<{ as?: keyof SvelteHTMLElements }>; | |
type ElementAttrs = T['as'] extends keyof SvelteHTMLElements | |
? SvelteHTMLElements[T['as']] | |
: HTMLAttributes<HTMLDivElement>; | |
type $$Props = { class?: string } & T & ElementAttrs; | |
let className = ''; |
import { | |
Client, | |
ClientOptions, | |
Utils, | |
UtilsJSONStringifyOptions, | |
RequestParamsLike, | |
JSONRPCResultLike | |
} from "jayson"; | |
import { promisify, isString, isError } from "util"; | |
import WS from "ws"; |
Hello {{$name}} | |
<script> | |
import { Store } from 'svelte/store.js'; | |
const store = new Store({ name: 'James' }); | |
export default { | |
store: () => store, | |
} |
I hereby claim:
To claim this, I am signing this object:
import { Component } from 'preact'; | |
type Deferred<T> = { | |
[P in keyof T]?: Promise<T[P]>; | |
}; | |
function isPromise<T>(V: any): V is Promise<T> { | |
return 'then' in V; | |
} |
import { Subject } from 'rxjs/Subject'; | |
import { Subscriber } from 'rxjs/Subscriber'; | |
import { ISubscription, Subscription } from 'rxjs/Subscription'; | |
import { ObjectUnsubscribedError } from 'rxjs/util/ObjectUnsubscribedError'; | |
/** | |
* MemorizingSubject acts like a BehaviorSubject, except that it is seeded | |
* with no value, calls to getValue() will fail before the first `next` call, | |
* and it does not push a value to subscribers if `next` has not been called. | |
*/ |
function transitionTo(parent: any, from: any, to: any): Promise<void> { | |
return new Promise<void>(resolve => { | |
const transitionElement = DOM.clone(from); | |
const fromBCR: ClientRect = DOM.getBoundingClientRect(from); | |
// Hide old element until animation is complete. | |
DOM.setStyle(from, "display", "none"); | |
// Temporarily display to element to get the BCR and styles. | |
DOM.setStyle(to, "display", "block"); |