This commit is contained in:
Joshua Granick
2015-10-05 20:26:13 -07:00
parent 4e1dc68a18
commit 1e87cdca9c
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ class JPEG {
var bytes = @:privateAccess new Bytes (data.length, data.b);
return ByteArray.fromBytes (bytes);
#elseif html5
#elseif (js && html5)
ImageCanvasUtil.sync (image, false);

View File

@@ -139,7 +139,7 @@ class PNG {
}
#elseif html5
#elseif (js && html5)
ImageCanvasUtil.sync (image, false);