forked from sheetjs/sheetjs
Electron README cleanup [ci skip]
use `XLSX` rather than `X` in README
This commit is contained in:
parent
be4e21c6f1
commit
73a5e50f21
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user