Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// GO AHEAD AND POPULATE THE TEXT
var unstack = function(obj) {
var tmp = Math.round(obj);
if (tmplist.indexOf(tmp)>=0) {
while (tmplist.indexOf(tmp)>=0) {
tmp++
}
tmplist.push(tmp)
} else {
tmplist.push(tmp)
}
// console.log(listed)
return yscale(tmplist[tmplist.length-1])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment