25 Jul
2005
25 Jul
'05
5:19 p.m.
On Jul 24, 2005, at 6:35 PM, Maciej Stachowiak wrote:
I can think of three basic options for code sharing:
1) Cut and paste the relevant files, use in both places. This sucks because any fixes or improvements would have to be made in two places, and history shows that people will usually forget to update other copies of the code.
2) Dump in kjs and export for use in khtml, even though this stuff has basically nothing to do with a JavaScript API.
3) Make a new module that both kjs and khtml depend on ("kxmlcore"? "kxmlbase"? something like that...).
I like both (2) and (3) and don't have a strong preference between them. But then again I usually agree with Maciej on things, so that's no big surprise. -- Darin