Electron README cleanup [ci skip]

use `XLSX` rather than `X` in README
This commit is contained in:
georgiebin 2018-03-07 18:21:48 +01:00
parent be4e21c6f1
commit 73a5e50f21

View File

@ -24,7 +24,7 @@ var dialog = require('electron').remote.dialog;
/* show a file-open dialog and read the first selected file */
var o = dialog.showOpenDialog({ properties: ['openFile'] });
var workbook = X.readFile(o[0]);
var workbook = XLSX.readFile(o[0]);
/* show a file-save dialog and write the workbook */
var o = dialog.showSaveDialog();