1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 // Make this available to both AMD and CJS environments
9 define(function(require, exports, module) {
14 CDATA_SECTION_NODE: 4,
15 ENTITY_REFERENCE_NODE: 5,
17 PROCESSING_INSTRUCTION_NODE: 7,
20 DOCUMENT_TYPE_NODE: 10,
21 DOCUMENT_FRAGMENT_NODE: 11,
25 DOCUMENT_POSITION_DISCONNECTED: 0x01,
26 DOCUMENT_POSITION_PRECEDING: 0x02,
27 DOCUMENT_POSITION_FOLLOWING: 0x04,
28 DOCUMENT_POSITION_CONTAINS: 0x08,
29 DOCUMENT_POSITION_CONTAINED_BY: 0x10,
30 DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 0x20,