Jybe/zenxd — Issue #1: repeated js in for_you.html
Author: arnabnil
Created: 2011-10-12 01:41:06+00:00
State: open

This is w.r.t alpha/for_you.html, the first page I would try to wire up.

Every suggestions row, seems to have row specific js. which is mostly the same functionality running on different ids. However this is implemented with new functions per row, each of which is run onload.

Would it be possible to refactor, so that the function is defined once. And then called with the right parameters - once per row. Essentially DRY

I am not a JS expert by any means, there might very well be a reason why you need to implement it this way.