Patch #1 for IceJS-0.1.0: nested modules

xdmxdm La Coruña, SpainAdministrators, ZeroC Staff Jose Gutierrez de la ConchaOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
The attached patch fixes two reported issues with Ice for JavaScript and nested modules:
  • slice2js generates invalid JavaScript code for Slice files that use nested modules.
  • Ice for JavaScript does not correctly convert Slice type ids to JavaScript types when using nested modules.

To apply the source patch to a fresh IceJS 0.1.0 source distribution:
cd IceJS-0.1.0
patch -p1 < ../IceJS-0.1.0-patch-01.txt

After applying this patch it's necessary to rebuild slice2js and the browser Ice.js bundle. Follow the instructions from the Ice for JavaScript release notes to build Ice for JavaScript.

Regards,

ZeroC Staff
Sign In or Register to comment.