This commit is contained in:
@@ -88,7 +88,7 @@ class HankBuffer {
|
|||||||
|
|
||||||
public static function FromFile(path:String, ?files:PreloadedFiles) {
|
public static function FromFile(path:String, ?files:PreloadedFiles) {
|
||||||
// Keep a raw buffer of the file for tracking accurate file positions
|
// Keep a raw buffer of the file for tracking accurate file positions
|
||||||
#if sys
|
#if (sys || hxnodejs)
|
||||||
var rawBuffer = sys.io.File.getContent(path);
|
var rawBuffer = sys.io.File.getContent(path);
|
||||||
#else
|
#else
|
||||||
if (files == null) {
|
if (files == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user