lima golf tango mike http://codereview.appspot.com/88157/diff/1/3 File src/com/google/caja/plugin/domita.js (right): http://codereview.appspot.com/88157/diff/1/3#newcode1341 Line 1341: throw new Error(NOT_EDITABLE); Ah! ...
16 years, 8 months ago
(2009-07-13 21:04:11 UTC)
#2
http://codereview.appspot.com/88157/diff/1/3 File src/com/google/caja/plugin/domita.js (right): http://codereview.appspot.com/88157/diff/1/3#newcode1576 Line 1576: TamePseudoNode.prototype.replaceChild = function () { On 2009/07/13 21:04:11, ...
16 years, 8 months ago
(2009-07-13 22:36:36 UTC)
#3
http://codereview.appspot.com/88157/diff/1/3
File src/com/google/caja/plugin/domita.js (right):
http://codereview.appspot.com/88157/diff/1/3#newcode1576
Line 1576: TamePseudoNode.prototype.replaceChild = function () {
On 2009/07/13 21:04:11, ihab.awad wrote:
> The original had the wrong signature (1 instead of 2 args); I would think it
> would be better to fix the signature, as a form of documentation for code
> readers, rather than delete it, even if the arguments are never used.
but that function is not just replaceChild, it's also removeChild, etc.
there isn't a consistent signature for all those functions, so I think
it's better to have an empty signature rather than a misleading
signature.
Issue 88157: fix return value of appendChild, etc.
(Closed)
Created 16 years, 8 months ago by felix8a
Modified 16 years, 8 months ago
Reviewers: ihab.awad
Base URL: http://google-caja.googlecode.com/svn/trunk/
Comments: 5