Skip to content

Instantly share code, notes, and snippets.

@anwalkers
anwalkers / oidc-client.d.ts
Created July 26, 2016 16:47
oidc-client TypeScript definitions file
/// <reference path="node_modules/typescript/lib/lib.es6.d.ts" />
declare module "src/Log" {
export default class Log {
static NONE: number;
static ERROR: number;
static WARN: number;
static INFO: number;
static reset(): void;
static level: any;
static logger: any;
@anwalkers
anwalkers / bootstrapDialog
Created February 5, 2014 20:18
Durandal and Bootstrap 3.1.0 modal dialog context
//bootstrap 3.1.0 modal dialog context for Durandal
define(['plugins/dialog'], function (dialog) {
/**
* @class ScrollDialogContext
*/
dialog.addContext('bootstrapDialog', {
blockoutOpacity: .2,
removeDelay: 300,
/**