UNPKG

@jorsek/ezd-client

Version:
20 lines (15 loc) 415 B
'use strict'; function DitaTopic(conn) { this._conn = conn; } DitaTopic.prototype = { getSections: function(options) { //return this._conn.get('sections', options); return this._conn.get('getSections.xql', options); }, getNamedGroup: function(options) { //return this._conn.get('sections', options); return this._conn.get('getNamedGroup.xql', options); } } module.exports = DitaTopic;