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