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 2021/03/03 18:15:47 UTC

[royale-asjs] branch develop updated: todo-jewel-crux: make it work with sdk distribution

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 ac85b44  todo-jewel-crux: make it work with sdk distribution
ac85b44 is described below

commit ac85b44251a9879b3c475c9300ce6443ba65ac39
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed Mar 3 19:15:39 2021 +0100

    todo-jewel-crux: make it work with sdk distribution
---
 examples/crux/todomvc-jewel-crux/asconfig.json | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/examples/crux/todomvc-jewel-crux/asconfig.json b/examples/crux/todomvc-jewel-crux/asconfig.json
index 14ab179..4453a5a 100644
--- a/examples/crux/todomvc-jewel-crux/asconfig.json
+++ b/examples/crux/todomvc-jewel-crux/asconfig.json
@@ -21,9 +21,19 @@
     "compilerOptions": {
         "debug": false,
         "targets": ["JSRoyale"],
-        "source-map": true
+        "source-map": true,
+        "library-path": [
+            "${royalelib}/libs/MXRoyale.swc"
+        ],
+        "js-library-path": [
+            "${royalelib}/js/libs/MXRoyaleJS.swc"
+        ],
+        "keep-as3-metadata": [
+            "Inject", "Dispatcher", "EventHandler", "PostConstruct", "PreDestroy", "ViewAdded", "ViewRemoved", "Bindable", "Transient"
+        ],
+        "js-default-initializers": true
     },
-    "additionalOptions": "-remove-circulars -js-output-optimization=skipAsCoercions",
+    "additionalOptions": "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css",
     "files":
     [
         "src/main/royale/App.mxml"