Skip to content

Instantly share code, notes, and snippets.

@hyonschu
Created April 25, 2016 22:02
Show Gist options
  • Save hyonschu/f44e880d7d7ebd3c88fada93529e8257 to your computer and use it in GitHub Desktop.
Save hyonschu/f44e880d7d7ebd3c88fada93529e8257 to your computer and use it in GitHub Desktop.
// 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