This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/Microsoft/TypeScript/issues/5073 | |
declare module 'flatpickr' { | |
class Flatpickr { | |
constructor(element: Element, options?: any); | |
destroy(); | |
} | |
namespace Flatpickr {} | |
export = Flatpickr; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQueryUiAdapter.prototype.openDialog = function (settings) { | |
var dfd = system.defer(); | |
var defaultSettings = { | |
appendTo: 'body', | |
dialogHost: 'dialogHost', | |
dialogPromise: dfd, | |
title: '', | |
cssClass: '', | |
viewmodel: null, | |
autoOpen: false, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
modified from original source: https://bitbucket.org/mattkotsenas/c-promises/overview | |
*/ | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace Promises |