Skip to content

Instantly share code, notes, and snippets.

L.Control.Sidebar = L.Control.extend({
includes: L.Mixin.Events,
initialize: function (id, options) {
var i, child;
L.setOptions(this, options);
// Find sidebar HTMLElement
this._sidebar = L.DomUtil.get(id);
@parallaxisjones
parallaxisjones / 1.cs
Last active August 29, 2015 14:26 — forked from cuppster/1.cs
Promises for C# using Generics
/*
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