]> source.dussan.org Git - jquery.git/commitdiff
.ownerDocument should be null on document.
authorJohn Resig <jeresig@gmail.com>
Sun, 8 Jul 2007 16:33:23 +0000 (16:33 +0000)
committerJohn Resig <jeresig@gmail.com>
Sun, 8 Jul 2007 16:33:23 +0000 (16:33 +0000)
build/runtest/env.js

index 23b413640f2d2c16e764d624b279b217c0ec71b8..7a1352af1429aee65d84ef7b4a86a69aaa138e2f 100644 (file)
@@ -106,7 +106,7 @@ var window = this;
                        return makeNode( this._dom.getDocumentElement() );
                },
                get ownerDocument(){
-                       return this;
+                       return null;
                },
                addEventListener: function(){},
                removeEventListener: function(){},