Hacker News new | ask | show | jobs
by pgambling 4768 days ago
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 :(