Skip to content

Instantly share code, notes, and snippets.

David Purkiss davidpurkiss

View GitHub Profile
View RequestThrottler.ts
import moment = require('moment');
export class RequestThrottler {
requestTimes: moment.Moment[];
requestRateLimit: number;
requestRateWindow: moment.Duration;
pendingRequests: {
resolve: (value?: any) => void;
reject: (reason?: any) => void;
request: () => Promise<any>;
@davidpurkiss
davidpurkiss / kendo-grid-column.html
Created Oct 8, 2015
Custom Element - Composition/Nested Elements
View kendo-grid-column.html
<template>
<div>
<content></content>
</div>
</template>
@davidpurkiss
davidpurkiss / kendo-grid.html
Created Oct 8, 2015
Custom Element - Aurelia Kendo Grid
View kendo-grid.html
<template>
<require from='kendo-ui/styles/kendo.common-bootstrap.min.css'></require>
<require from='kendo-ui/styles/kendo.bootstrap.min.css'></require>
<div>
<content></content>
</div>
</template>
You can’t perform that action at this time.