Skip to content

Instantly share code, notes, and snippets.

View michaelfdeberry's full-sized avatar

Michael DeBerry michaelfdeberry

View GitHub Profile
@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,
/**