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 e3d6f3b -fixes Event missing type -add COMPILE::JS to flash import e3d6f3b is described below commit e3d6f3b462d25671f95fd3f05460a4c2ec87a907 Author: Carlos Rovira <carlosrov...@apache.org> AuthorDate: Wed Nov 7 20:05:09 2018 +0100 -fixes Event missing type -add COMPILE::JS to flash import --- .../Core/src/main/royale/org/apache/royale/core/ByteArrayAsset.as | 5 ++++- .../projects/Jewel/src/main/royale/org/apache/royale/jewel/Form.as | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/ByteArrayAsset.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/ByteArrayAsset.as index 75399a0..f8f7906 100644 --- a/frameworks/projects/Core/src/main/royale/org/apache/royale/core/ByteArrayAsset.as +++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/core/ByteArrayAsset.as @@ -18,7 +18,10 @@ //////////////////////////////////////////////////////////////////////////////// package org.apache.royale.core { - import flash.utils.ByteArray; + COMPILE::JS + { + import flash.utils.ByteArray; + } /** * The ByteArrayAsset represents an arbitrary sequence of byte data diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Form.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Form.as index 17c7f4c..ed62355 100644 --- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Form.as +++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Form.as @@ -36,7 +36,7 @@ package org.apache.royale.jewel * @playerversion AIR 2.6 * @productversion Royale 0.9.4 */ - [Event("valid","org.apache.royale.events.Event")] + [Event("valid", type="org.apache.royale.events.Event")] /** * Dispatched when the form validation fails. @@ -46,7 +46,7 @@ package org.apache.royale.jewel * @playerversion AIR 2.6 * @productversion Royale 0.9.4 */ - [Event("invalid","org.apache.royale.events.Event")] + [Event("invalid", type="org.apache.royale.events.Event")] /** * The Form class works with all validators,