Fix text/byte loading on native targets

This commit is contained in:
Joshua Granick
2014-06-18 14:54:21 -07:00
parent 35feb81e54
commit a95396627c

View File

@@ -185,9 +185,10 @@ class DefaultAssetLibrary extends AssetLibrary {
#else
return null;
//return null;
//if (className.exists(id)) return cast (Type.createInstance (className.get (id), []), ByteArray);
//else return ByteArray.readFile (path.get (id));
//else
return ByteArray.readFile (path.get (id));
#end