You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2020/07/19 19:23:41 UTC

[royale-asjs] branch develop updated: Deprecate Router

This is an automated email from the ASF dual-hosted git repository.

harbs 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 8ae4129  Deprecate Router
8ae4129 is described below

commit 8ae41292e7939338d3307581f43320f45e3704f3
Author: Harbs <ha...@in-tools.com>
AuthorDate: Sun Jul 19 22:21:06 2020 +0300

    Deprecate Router
---
 .../projects/Basic/src/main/royale/org/apache/royale/routing/Router.as  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
index 91028c3..f9dc4b3 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/routing/Router.as
@@ -63,8 +63,10 @@ package org.apache.royale.routing
 	 *  @productversion Royale 0.9.7
    *  @deprecated
 	 */
+	[Deprecated(message="Use BrowserRouter or HashRouter instead")]
   public class Router extends Strand implements IRouter, IBead, IMXMLDocument
   {
+		[Deprecated(message="Use BrowserRouter or HashRouter instead")]
 		public function Router()
 		{