Fix compilation of JS ArrayBuffer when generating documentation

This commit is contained in:
Joshua Granick
2018-08-21 12:20:04 -07:00
parent 30b4e4962f
commit ac68dc7c78

View File

@@ -9,7 +9,7 @@ package lime.utils;
import haxe.io.Bytes;
@:forward
abstract ArrayBuffer(Bytes) from Bytes to Bytes {
abstract ArrayBuffer(Bytes) from Bytes to Bytes #if doc_gen from Dynamic to Dynamic #end {
public inline function new( byteLength:Int ) {
this = Bytes.alloc( byteLength );
}