Remove testing code
This commit is contained in:
@@ -57,7 +57,6 @@ class Image {
|
|||||||
__canvas.width = width;
|
__canvas.width = width;
|
||||||
__canvas.height = height;
|
__canvas.height = height;
|
||||||
__context.drawImage (data, 0, 0);
|
__context.drawImage (data, 0, 0);
|
||||||
Browser.document.body.appendChild (__canvas);
|
|
||||||
|
|
||||||
var pixels = __context.getImageData (0, 0, width, height);
|
var pixels = __context.getImageData (0, 0, width, height);
|
||||||
__bytes = new UInt8Array (pixels.data);
|
__bytes = new UInt8Array (pixels.data);
|
||||||
@@ -92,4 +91,4 @@ typedef ImageData = js.html.Image;
|
|||||||
typedef ImageData = flash.display.BitmapData;
|
typedef ImageData = flash.display.BitmapData;
|
||||||
#else
|
#else
|
||||||
typedef ImageData = UInt8Array;
|
typedef ImageData = UInt8Array;
|
||||||
#end
|
#end
|
||||||
|
|||||||
Reference in New Issue
Block a user