Changeset 2001 for trunk/testtools
- Timestamp:
- 10/30/05 14:03:59 (3 years ago)
- Files:
-
- 1 modified
-
trunk/testtools/JsFakeDom/BUFakeDom.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/testtools/JsFakeDom/BUFakeDom.js
r1996 r2001 439 439 // Boolean hasChildNodes() 440 440 BUFakeNode.prototype.hasChildNodes = function() { 441 return this[ childNodes] && this.childNodes.length > 0;441 return this["childNodes"] && this.childNodes.length > 0; 442 442 } 443 443 444 444 // Boolean hasAttributes() 445 445 BUFakeNode.prototype.hasAttributes = function() { 446 return this[ attributes] && this.attributes.length > 0;446 return this["attributes"] && this.attributes.length > 0; 447 447 } 448 448