Skip to content

Instantly share code, notes, and snippets.

var neighbor = {"none":0,"same":1,"other":2};
var tileSheetDataMap = function(){
this.map = {};
};
tileSheetDataMap.prototype.addCell = function(data) {
var key = data.n + "," + data.e + "," + data.s + "," + data.w;
this.map[key] = this.map[key] || [];
this.map[key].push([data.x, data.y]);
function s4() {
return Math.floor((1 + Math.random()) * 0x10000)
.toString(16)
.substring(1);
};
function guid() {
return s4() + s4() + '-' + s4() + '-' + s4() + '-' +
s4() + '-' + s4() + s4() + s4();
}
iMac12:helloworld erik$ jitsu deploy
info: Welcome to Nodejitsu eazimmerman
info: jitsu v0.12.10-2, node v0.10.5
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
warn: **WARNING** Do not use multiple level subdomains, they will be going away soon!
info: Skipping require-analyzer because noanalyze option is set
warn: **WARNING** Do not use multiple level subdomains, they will be going away soon!
info: Skipping require-analyzer because noanalyze option is set
warn: Local package version appears to be old