UNPKG

matroska

Version:
23 lines (15 loc) 592 B
/*jslint node: true, vars: true, nomen: true */ 'use strict'; var util = require('util'); var MasterElement = require('./masterElement'); var schema = require('../schema'); var _proto = require('./_proto'); function Attachments(doc, tagId, start, length) { MasterElement.call(this, doc, tagId, schema.byName.Attachments, start, length); } util.inherits(Attachments, MasterElement); module.exports = Attachments; Attachments.prototype.toString = function() { return "[Attachments #" + this.tagId + "]"; }; _proto.addChild(Attachments.prototype, "AttachedFile");