Sha256: 4edb8f061295f48ffbe75b815efac00e79e15ff1a4ec99cb8c9f012dc4ef730f

Contents?: true

Size: 642 Bytes

Versions: 3

Compression:

Stored size: 642 Bytes

Contents

"use strict";

const idlUtils = require("../generated/utils");

const NodeImpl = require("./Node-impl").implementation;
const ChildNodeImpl = require("./ChildNode-impl").implementation;

const NODE_TYPE = require("../node-type");

class DocumentTypeImpl extends NodeImpl {
  constructor(args, privateData) {
    super(args, privateData);

    this.nodeType = NODE_TYPE.DOCUMENT_TYPE_NODE;

    this.name = privateData.name;
    this.publicId = privateData.publicId;
    this.systemId = privateData.systemId;
  }
}

idlUtils.mixin(DocumentTypeImpl.prototype, ChildNodeImpl.prototype);

module.exports = {
  implementation: DocumentTypeImpl
};

Version data entries

3 entries across 3 versions & 3 rubygems

Version Path
learn_create-0.0.22 lib/templates/javascript_lab_template/node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js
lanes-0.8.0 node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js
select_all-rails-0.3.1 node_modules/jsdom/lib/jsdom/living/nodes/DocumentType-impl.js