Convert to using graceful-fs vs vanilla fs module

This commit is contained in:
Bryan Ashby 2017-05-19 21:20:19 -06:00
parent a49abc7c67
commit 019596d709
26 changed files with 27 additions and 26 deletions

View file

@ -996,7 +996,7 @@ MultiLineEditTextView.prototype.setFocus = function(focused) {
};
MultiLineEditTextView.prototype.setText = function(text) {
//text = require('fs').readFileSync('/home/nuskooler/Downloads/test_text.txt', { encoding : 'utf-8'});
//text = require('graceful-fs').readFileSync('/home/nuskooler/Downloads/test_text.txt', { encoding : 'utf-8'});
this.textLines = [ ];
this.addText(text);