welp, fixed it enough for codepen to let me debug at least
Tom
@moT01
twitchsrt
you didn't ask much of a question for me to be able to help, but the twitchSort function wasn't closed
Ben Hart
@Benjmhart
yeah i figured that out
now on to my real question -- are there any good resources for figuring out promises on foreach loops? the more i read about promises and deferred objects the more confused i am
Tom
@moT01
I dont have anything specific
i dont think promises are necessary for this project
nesting them in a forEach loop, im not sure about that
Ben Hart
@Benjmhart
oh, maybe someone sent me on a wild goose chase, how would you approach it?
Tom
@moT01
the forEach loop should be enough by itself
Ben Hart
@Benjmhart
hmm, ok, well I was able to get back a bunch of objects, the problem is that the data seems to be scrambled when I put it through the operation make it HTML
specifically twitchers[i] seems to survive long enough to be passed into the ajax call, but turns into a single letter when i try to reference it in the success function - is there something weird going on with scope?)