You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/10/31 11:23:39 UTC

[royale-asjs] branch develop updated: fixing pako in net version of CompressedRemoteObject too

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new b642800  fixing pako in net version of CompressedRemoteObject too
b642800 is described below

commit b642800a2974832bc8871e674d4a7853c147ebd3
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Oct 31 12:23:32 2018 +0100

    fixing pako in net version of CompressedRemoteObject too
---
 .../src/main/royale/org/apache/royale/net/CompressedRemoteObject.as     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/CompressedRemoteObject.as b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/CompressedRemoteObject.as
index e0d812e..bb42dce 100644
--- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/CompressedRemoteObject.as
+++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/CompressedRemoteObject.as
@@ -55,7 +55,7 @@ package org.apache.royale.net
                 var bytearray:Uint8Array = new Uint8Array(param.body);
 
                 // --- uncompress the bytearray to get the real object (tree) and create the AMFBinaryData with it
-                var data:AMFBinaryData = new AMFBinaryData(window["pako"].inflate(bytearray));
+                var data:AMFBinaryData = new AMFBinaryData(window["pako"]["inflate"](bytearray));
                 param.body = data.readObject();
                 // --- dispatch the ResultEvent like in the standard RemoteObject with the inflated result object
     		    dispatchEvent(new ResultEvent(ResultEvent.RESULT, param.body));