Convert to using graceful-fs vs vanilla fs module
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user