Skip to content

Instantly share code, notes, and snippets.

@hyonschu
Created April 25, 2016 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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