'Don't make functions within the loop' + 'file is not defined' #766
Closed
Description
Hey there,
I put in the controller code exactly as it is in the demo and JsHint gives me back 'Don't make functions within a loop.'
If I put the functions outside of the loop (besides perhaps breaking the intended functionality), I get back 'file is not defined.'
Have you heard of this happening before? Can you show how to fix this? I've seen some stuff on the web about it but don't know what to change within the controller.
Thanks a bunch.
Daniel
Metadata
Assignees
Labels
No labels