mootools/mootools-core — Issue #2182: element.erase( 'html' ) sets content to text 'undefined'
Author: michaelcm
Created: 2011-12-21 16:19:26+00:00
State: open

This fiddle captures it all:
http://jsfiddle.net/YxcqX/

This document [ http://mootools.net/docs/core/Element/Element#Element:erase ] defines the property to be:
This is a "dynamic arguments" method. Properties passed in can be any of the 'erase' properties in the Element.Properties Object."

The link to "Element.Properties" includes http://mootools.net/docs/core/Element/Element#Element-Properties:html

So html should by emptied not set to the text 'undefined'.

This was reproduced with Chrome 16.