W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2012

DOM 4 naming "before" and "after"

From: João Eiras <joaoe@opera.com>
Date: Wed, 22 Aug 2012 16:41:29 +0200
To: "www-dom@w3.org" <www-dom@w3.org>
Message-ID: <op.wjf5rfso2q99of@joaoe>
Hi !

The spec [1] defines the new methods "after" and "before". Unlike  
"prepend", "append", "replace" or "remove", "after" and "before" are not  
verbs, which makes them a bit less comprehensible.

Could you rename them to addAfter/addBefore or something equivalent ?

Thank you.

[1]  
http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#mutation-methods
Received on Wednesday, 22 August 2012 14:42:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 August 2012 14:42:08 GMT