Skip to content

Instantly share code, notes, and snippets.

View kitsonk's full-sized avatar
🔨
Nailing It!

Kitson Kelly kitsonk

🔨
Nailing It!
View GitHub Profile
@kitsonk
kitsonk / bundler.ts
Last active February 1, 2022 08:08 — forked from theoparis/bundler.ts
deno issue 1
/// <reference no-default-lib="true"/>
/// <reference lib="deno.ns" />
/// <reference lib="deno.unstable" />
/// <reference lib="dom" />
/// <reference lib="dom.iterable" />
/// <reference lib="dom.asynciterable" />
import { Application } from "https://deno.land/x/oak/mod.ts";
import staticFiles from "https://deno.land/x/static_files/mod.ts";
import {
@kitsonk
kitsonk / composeAspectTestCase.js
Last active July 5, 2016 14:05 — forked from agubler/composeAspectTestCase.js
Compose Aspect Test Case
'base, initialize, and aspect, twice': function() {
let val = 0;
const stack = [];
const createBase = compose({})
.mixin({
mixin: {
foo: 0,
doFoo: () => {
val++;
stack.push('createBase');