XMLDocumentFragment.js 860 B

12345678910111213141516171819202122232425
  1. // Generated by CoffeeScript 1.12.7
  2. (function() {
  3. var NodeType, XMLDocumentFragment, XMLNode,
  4. extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
  5. hasProp = {}.hasOwnProperty;
  6. XMLNode = require('./XMLNode');
  7. NodeType = require('./NodeType');
  8. module.exports = XMLDocumentFragment = (function(superClass) {
  9. extend(XMLDocumentFragment, superClass);
  10. function XMLDocumentFragment() {
  11. XMLDocumentFragment.__super__.constructor.call(this, null);
  12. this.name = "#document-fragment";
  13. this.type = NodeType.DocumentFragment;
  14. }
  15. return XMLDocumentFragment;
  16. })(XMLNode);
  17. }).call(this);