ref: 9d68cdc7fb23d4249c24d9e0e15323386edd3366
dir: /domino/domino-lib/NonDocumentTypeChildNode.js/
"use strict"; var Node = require('./Node'); var NonDocumentTypeChildNode = { nextElementSibling: { get: function() { if (this.parentNode) { for (var kid = this.nextSibling; kid !== null; kid = kid.nextSibling) { if (kid.nodeType === Node.ELEMENT_NODE) return kid; } } return null; }}, previousElementSibling: { get: function() { if (this.parentNode) { for (var kid = this.previousSibling; kid !== null; kid = kid.previousSibling) { if (kid.nodeType === Node.ELEMENT_NODE) return kid; } } return null; }} }; module.exports = NonDocumentTypeChildNode;