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/10/26 14:17:58 UTC

[royale-docs] branch master updated: Update bean-life-cycle-management.md

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

carlosrovira pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git


The following commit(s) were added to refs/heads/master by this push:
     new d80e6a2  Update bean-life-cycle-management.md
d80e6a2 is described below

commit d80e6a29f08556cc7615d901e23d9c6b08146e40
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Mon Oct 26 15:17:49 2020 +0100

    Update bean-life-cycle-management.md
---
 libraries/crux/bean-life-cycle-management.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/crux/bean-life-cycle-management.md b/libraries/crux/bean-life-cycle-management.md
index 4ec4dc5..e7528a1 100644
--- a/libraries/crux/bean-life-cycle-management.md
+++ b/libraries/crux/bean-life-cycle-management.md
@@ -43,7 +43,7 @@ public var dispatcher : IEventDispatcher;
  
 private function createNewBean() : void
 {
-    userModel : UserModel = new UserModel();
+    var userModel : UserModel = new UserModel();
      
     // Crux will create a bean for the userModel, and process any metadata in it.
     dispatcher.dispatchEvent( new BeanEvent( BeanEvent.SET_UP_BEAN, userModel ) );