This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function s4() { | |
return Math.floor((1 + Math.random()) * 0x10000) | |
.toString(16) | |
.substring(1); | |
}; | |
function guid() { | |
return s4() + s4() + '-' + s4() + '-' + s4() + '-' + | |
s4() + '-' + s4() + s4() + s4(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
NewerOlder