Changeset 1159

Show
Ignore:
Timestamp:
10/09/06 11:59:47 (2 years ago)
Author:
therve@gmail.com
Message:

Too fast

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • mochikit/branches/selector/MochiKit/MockDOM.js

    r1158 r1159  
    6767    /** @id MochiKit.MockDOM.MockElement.prototype.createTextNode */ 
    6868    createTextNode: function (text) { 
    69         return new MochiKit.MockDOM.MockElement("text", text); 
     69        return new MochiKit.MockDOM.MockElement("text", text, this.nodeType == 9 ? this : this.ownerDocument); 
    7070    }, 
    7171    /** @id MochiKit.MockDOM.MockElement.prototype.setAttribute */