Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am phae on github.
  • I am phae (https://keybase.io/phae) on keybase.
  • I have a public key whose fingerprint is 3D28 668D 7DEA EBEE 0859 6E40 627C 48FB 7F2E E25A

To claim this, I am signing this object:

This, Mark, is a gist.
/**
@name vehicle.Sled
@extends vehicle
@constructor
@description Create a new sled to send Santa around the world to deliver {@link santa.toys toys} to good kids.
@param {Object} [opts] Options
@param {number} [opts.capacity='50'] Set the capacity of the sled
By default, it'll be 50 (tons)
@param {string} [opts.pilot='santa'] The pilot of the sled.
By default, this will be Santa.
@name santa.getGifts
@function
@param {boolean} wellBehaved Set true if the child has been nice
@returns {object} Returns a gift
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-116.751, 39.2502]
},
"properties": {