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 2020/07/20 08:15:41 UTC

[royale-asjs] branch develop updated: todomvc-example: Update to use HashRouter instead deprecated Router, but will want to change to BrowserRouter soon if possible

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 1f5cce6  todomvc-example: Update to use HashRouter instead deprecated Router, but will want to change to BrowserRouter soon if possible
1f5cce6 is described below

commit 1f5cce6b185a431a27a02901275cdb7df0c5aec8
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Mon Jul 20 10:15:27 2020 +0200

    todomvc-example: Update to use HashRouter instead deprecated Router, but will want to change to BrowserRouter soon if possible
---
 .../todomvc/src/main/royale/jewel/todomvc/views/TodoListSection.mxml  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/jewel/todomvc/src/main/royale/jewel/todomvc/views/TodoListSection.mxml b/examples/jewel/todomvc/src/main/royale/jewel/todomvc/views/TodoListSection.mxml
index 859a964..7fa5e62 100644
--- a/examples/jewel/todomvc/src/main/royale/jewel/todomvc/views/TodoListSection.mxml
+++ b/examples/jewel/todomvc/src/main/royale/jewel/todomvc/views/TodoListSection.mxml
@@ -63,10 +63,10 @@ limitations under the License.
 
     <j:beads>
         <js:ContainerDataBinding/>
-        <js:Router>
+        <js:HashRouter>
             <js:RouteToState component="{footer}"/>
             <js:RouteTitleLookup lookup="{getTitleLookup()}"/>
-        </js:Router>
+        </js:HashRouter>
     </j:beads>
 
     <html:Section className="todoapp">