Fix docs build
This commit is contained in:
@@ -152,15 +152,19 @@ class ImageCanvasUtil {
|
||||
|
||||
public static function createImageData (image:Image):Void {
|
||||
|
||||
#if (js && html5)
|
||||
|
||||
var buffer = image.buffer;
|
||||
|
||||
if (buffer.data == null) {
|
||||
|
||||
buffer.__srcImageData = buffer.__srcContext.getImageData (0, 0, buffer.width, buffer.height);
|
||||
buffer.data = new UInt8Array (buffer.__srcImageData.data.buffer);
|
||||
buffer.data = new UInt8Array (cast buffer.__srcImageData.data.buffer);
|
||||
|
||||
}
|
||||
|
||||
#end
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
typedef ArrayBuffer = js.html.ArrayBuffer;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
typedef ArrayBufferView = js.html.ArrayBufferView;
|
||||
|
||||
@@ -348,7 +348,7 @@ private abstract TypedArrayType(Int) from Int to Int {
|
||||
var Float64 = 9;
|
||||
}
|
||||
|
||||
#if !js
|
||||
#if (!js || display)
|
||||
|
||||
@:noCompletion @:dox(hide) class ArrayBufferIO {
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
typedef DataView = js.html.DataView;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
@:forward
|
||||
@:arrayAccess
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
@:forward
|
||||
@:arrayAccess
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
@:forward
|
||||
@:arrayAccess
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
@:forward
|
||||
@:arrayAccess
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
@:forward
|
||||
@:arrayAccess
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
@:forward
|
||||
@:arrayAccess
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
@:forward
|
||||
@:arrayAccess
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
@:forward
|
||||
@:arrayAccess
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package lime.utils;
|
||||
|
||||
#if js
|
||||
#if (js && !display)
|
||||
|
||||
@:forward
|
||||
@:arrayAccess
|
||||
|
||||
Reference in New Issue
Block a user