ezra-bible-app / node-sword-interface

JavaScript (N-API) interface to SWORD library
GNU General Public License v2.0
22 stars 2 forks source link

minor documentation update needed for getAllRepoModules #36

Closed shev72 closed 1 year ago

shev72 commented 1 year ago

var repo="Xiphos"; var modules=interface.getAllRepoModules(repo); for (var i = 0; i < modules.length; i++) { console.log( 'moduleName : ' + JSON.stringify(modules[i]) + '\n'); }

It seems in the code excertp above getAllRepoModules is returning an array of objects, not of strings (as in the current doc)

tobias-klein commented 1 year ago

Thank you @shev72. Yes, the API documentation needs an update for this.