You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/11/11 23:08:31 UTC

[15/28] git commit: [flex-asjs] [refs/heads/develop] - try out new annotations to optimize JS cross-compile

try out new annotations to optimize JS cross-compile


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b8472d62
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b8472d62
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b8472d62

Branch: refs/heads/develop
Commit: b8472d6246305a313afcc655daabcf4407cffd56
Parents: d5585b6
Author: Alex Harui <ah...@apache.org>
Authored: Thu Nov 6 23:07:00 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Nov 11 14:07:58 2014 -0800

----------------------------------------------------------------------
 .../src/org/apache/flex/core/ParentDocumentBead.as    |  6 ++++++
 .../org/apache/flex/core/StatesWithTransitionsImpl.as | 14 ++++++++++++++
 2 files changed, 20 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b8472d62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ParentDocumentBead.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ParentDocumentBead.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ParentDocumentBead.as
index 8fb623e..77c0c4c 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ParentDocumentBead.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ParentDocumentBead.as
@@ -35,6 +35,8 @@ package org.apache.flex.core
      *  this information.  It is intended to be used
      *  as a bead in the top-level tag of an MXML document.
      *  
+     *  @flexjsignoreimport org.apache.flex.core.IChild
+     * 
      *  @langversion 3.0
      *  @playerversion Flash 10.2
      *  @playerversion AIR 2.6
@@ -100,6 +102,10 @@ package org.apache.flex.core
         }
         
         [Bindable("parentDocumentChange")]
+        /**
+         *  @private
+         *  @flexjsignorecoercion org.apache.flex.core.IChild
+         */
         public function get parentDocument():Object
         {
             var child:IChild = _strand as IChild;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b8472d62/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/StatesWithTransitionsImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/StatesWithTransitionsImpl.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/StatesWithTransitionsImpl.as
index ccf5e0d..0a7289a 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/StatesWithTransitionsImpl.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/StatesWithTransitionsImpl.as
@@ -40,6 +40,8 @@ package org.apache.flex.core
      *  It only supports AddItems and SetProperty and SetEventHandler 
      *  changes at this time.
      *  
+     *  @flexjsignoreimport org.apache.flex.core.IStatesObject
+     * 
      *  @langversion 3.0
      *  @playerversion Flash 10.2
      *  @playerversion AIR 2.6
@@ -79,6 +81,10 @@ package org.apache.flex.core
             IEventDispatcher(_strand).addEventListener("initComplete", initialStateHandler);
         }
         
+        /**
+         *  @private
+         *  @flexjsignorecoercion org.apache.flex.core.IStatesObject
+         */
         private function initialStateHandler(event:org.apache.flex.events.Event):void
         {
             sawInitComplete = true;
@@ -86,6 +92,10 @@ package org.apache.flex.core
                 IStatesObject(_strand).currentState));
         }		
      
+        /**
+         *  @private
+         *  @flexjsignorecoercion org.apache.flex.core.IStatesObject
+         */
         private function stateChangeHandler(event:ValueChangeEvent):void
         {
             if (!sawInitComplete)
@@ -151,6 +161,10 @@ package org.apache.flex.core
         
         private var transitionEffects:Array;
         
+        /**
+         *  @private
+         *  @flexjsignorecoercion org.apache.flex.core.IStatesObject
+         */
         private function effectEndHandler(event:Event):void
         {
             var n:int = transitionEffects.length;