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 f887d73 todomvc: little changes
f887d73 is described below
commit f887d735a5907a635ba55e6e531ca4e0a996b68f
Author: Carlos Rovira <[email protected]>
AuthorDate: Fri Feb 14 20:39:03 2020 +0100
todomvc: little changes
---
examples/crux/todomvc-jewel-crux/pom.xml | 1 -
.../src/main/royale/jewel/todomvc/controllers/TodoController.as | 4 ++--
.../src/main/royale/jewel/todomvc/models/TodoModel.as | 2 +-
3 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/examples/crux/todomvc-jewel-crux/pom.xml
b/examples/crux/todomvc-jewel-crux/pom.xml
index 0d547f7..b82f8be 100644
--- a/examples/crux/todomvc-jewel-crux/pom.xml
+++ b/examples/crux/todomvc-jewel-crux/pom.xml
@@ -46,7 +46,6 @@
<additionalCompilerOptions>
-js-default-initializers=true;
-keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient;
- -keep-code-with-metadata=Inject;
-source-map=true;
-compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css;
</additionalCompilerOptions>
diff --git
a/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/controllers/TodoController.as
b/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/controllers/TodoController.as
index caa309c..73fb904 100644
---
a/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/controllers/TodoController.as
+++
b/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/controllers/TodoController.as
@@ -46,8 +46,8 @@ package jewel.todomvc.controllers
public function setUp():void {
// retrieve local items and use it if exists
model.allItems = new ArrayList(model.getItemStore());
- model.allItems = new ArrayList([]);
- saveDataToLocal();
+ // model.allItems = new ArrayList([]);
+ // saveDataToLocal();
model.setUpFilteredCollections();
model.listItems = model.allItems;
diff --git
a/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/models/TodoModel.as
b/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/models/TodoModel.as
index 75a148c..20b5777 100644
---
a/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/models/TodoModel.as
+++
b/examples/crux/todomvc-jewel-crux/src/main/royale/jewel/todomvc/models/TodoModel.as
@@ -60,7 +60,7 @@ package jewel.todomvc.models
/**
* Local storage for the todo items
*/
- private var storage:AMFStorage = AMFStorage.getLocal("todomvc");
+ private var storage:AMFStorage = AMFStorage.getLocal("todomvccrux");
/**
* the list of items binded to the todo list component