modelcontainer.js 311 B

12345678910111213141516
  1. 'use strict';
  2. const XLSX = require('../xlsx/xlsx');
  3. class ModelContainer {
  4. constructor(model) {
  5. this.model = model;
  6. }
  7. get xlsx() {
  8. if (!this._xlsx) {
  9. this._xlsx = new XLSX(this);
  10. }
  11. return this._xlsx;
  12. }
  13. }
  14. module.exports = ModelContainer;
  15. //# sourceMappingURL=modelcontainer.js.map