3 ms·
> if I have to repeat the methods more than twice I'd probably just wrap the couple of lines into a function, like: I wrote in a sibling comment: Once you wr
by dmitriid 7y ago
> if I have to repeat the methods more than twice I'd probably just wrap the couple of lines into a function, like:
I wrote in a sibling comment:
Once you write it not once, but twice, or five times, you will either switch to a lib/framework, or to jQuery, or will write your own wrapper not that different from jQuery.