Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wouldn't test 50+ onclick functions. I'd used event delegation to assign the click handler to the appropriate parent element. I'm not experienced with Angular, but the last time I checked it didn't support event delegation :(


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: