lewisje / ourlibrary

Automatically exported from code.google.com/p/ourlibrary
0 stars 0 forks source link

getElementDocument should be split up and deprecated #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is an oldie (and not a goodie).  I think it was the first function I 
contributed to the CWR project.  Apparently I didn't give it a lot of 
thought at the time (a recurring theme as I renovate).

We should really have a getElementOwnerDocument and a 
getElementParentDocument with the original combined version deprecated.  The 
(internal) attachListenerFactory function should be untangled in similar 
fashion (it uses getElementDocument in a really bad way).

Original issue reported on code.google.com by dmark.ci...@gmail.com on 3 May 2010 at 4:14

GoogleCodeExporter commented 9 years ago

Original comment by dmark.ci...@gmail.com on 6 May 2010 at 3:12