Skip to content

Commit

Permalink
Fix linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier Robin committed Jan 7, 2018
1 parent 7a53221 commit b9059a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/doc/workbook.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ var Workbook = module.exports = function() {

Workbook.prototype = {
get xlsx() {
return this._xlsx || (this._xlsx = new XLSX(this));
if (!this._xlsx) this._xlsx = new XLSX(this);
return this._xlsx;
},
get csv() {
return this._csv || (this._csv = new CSV(this));
if (!this._csv) this._csv = new CSV(this);
return this._csv;
},
get nextId() {
// find the next unique spot to add worksheet
Expand Down

0 comments on commit b9059a3

Please sign in to comment.