I hereby claim:
- I am iansheridan on github.
- I am iansheridan (https://keybase.io/iansheridan) on keybase.
- I have a public key ASCgMCHiSDzqTbaHLmhVuCVfsxtXrr7SB9GMhxiI--mQLQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var Calendar = Calendar || { | |
version: '0.0.1', | |
lunarPhaseSize: 15, | |
lunarPhasesImage: 'https://s3.amazonaws.com/files.d20.io/images/4277527/CJJWBbiHx3jHglPdccPx3A/max.png?1401939451', | |
clearImage: 'https://s3.amazonaws.com/files.d20.io/images/4277467/iQYjFOsYC5JsuOPUCI9RGA/max.png?1401938659', | |
_Ordinal: function(num) { | |
var ones=(num%10); | |
var tens=((num%100)-ones); | |
switch(ones) |
// screep astar | |
// based off of javascript-astar 0.4.1 | |
// http://github.com/bgrins/javascript-astar | |
// Freely distributable under the MIT License. | |
// Implements the astar search algorithm in javascript using a Binary Heap. | |
// Includes Binary Heap (with modifications) from Marijn Haverbeke. | |
// http://eloquentjavascript.net/appendix2.html | |
// Modified for Screeps by Robert Hafner |