mootools/mootools-more — pull request #1053 by anutron (2011-10-18 04:09:04+00:00)
Title: Fixing odd IE bug where this.text (created with the Element constructor) is not extended. 

Fixing odd IE bug where this.text (created with the Element constructor) is not extended. WTF?

I'm running specs here with IE8. It keeps crapping out on

if (this.text && !this.text.isDisplayed()){

complaining that `this.text.isDisplayed` is undefined. Adding the `document.id` wrapper fixes it.

[screenshot](http://cl.ly/2h2S1I2V18240A323r0Y/Image_2011.10.17_9_07_34_PM.png)

![debugger](http://cl.ly/2h2S1I2V18240A323r0Y/Image_2011.10.17_9_07_34_PM.png)