{"issue":{"user":{"id":488951,"login":"michaelcm","url":"https://api.github.com/users/michaelcm","avatar_url":"https://secure.gravatar.com/avatar/7270c4a9e1136480ca243f3ce68f0260?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"7270c4a9e1136480ca243f3ce68f0260"},"milestone":null,"created_at":"2011-12-21T16:19:26Z","title":"element.erase( 'html' ) sets content to text 'undefined'","labels":[],"state":"open","updated_at":"2011-12-21T16:19:26Z","id":2626614,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/mootools/mootools-core/issues/2182","closed_at":null,"body":"This fiddle captures it all:\r\nhttp://jsfiddle.net/YxcqX/\r\n\r\nThis document [ http://mootools.net/docs/core/Element/Element#Element:erase ] defines the property to be:\r\n<code>This is a \"dynamic arguments\" method. Properties passed in can be any of the 'erase' properties in the Element.Properties Object.\"</code>\r\n\r\nThe link to \"Element.Properties\" includes http://mootools.net/docs/core/Element/Element#Element-Properties:html\r\n\r\nSo html should by emptied not set to the text 'undefined'.\r\n\r\nThis was reproduced with Chrome 16.","number":2182,"url":"https://api.github.com/repos/mootools/mootools-core/issues/2182","comments":0,"assignee":null},"action":"opened"}