News for hackers. Stuff that matters.
Re:I've never made a public API before. Feedback on this one? by dannyr on Wednesday June 16, 2010 @02:33PM (#1436523)
JQuery does the same.

$("#element").html($("#element").html() + custom_html);

Re:I've never made a public API before. Feedback on this one? by spicyj on Wednesday June 16, 2010 @04:31PM (#1436926)
Can't you just type $("#element").append(custom_html)?
Re:I've never made a public API before. Feedback on this one? by IgorPartola on Wednesday June 16, 2010 @03:00PM (#1436621)
Yes, and I very much like that API. It's concise which is a huge win when you have to read that code later.