@jorsek/ezd-client
Version:
20 lines (15 loc) • 415 B
JavaScript
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;
;