flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-asjs] [refs/heads/develop] - fix interface handling
Date Wed, 14 Dec 2016 06:38:10 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop d55991594 -> e19deeda4


fix interface handling


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

Branch: refs/heads/develop
Commit: e19deeda4bb8170284169edf71fb3ee8cb16af9b
Parents: d559915
Author: Alex Harui <aharui@apache.org>
Authored: Tue Dec 13 22:31:57 2016 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Dec 13 22:32:04 2016 -0800

----------------------------------------------------------------------
 examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml   | 2 +-
 examples/flexjs/ASDoc/src/main/flex/models/ASDocModel.as | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e19deeda/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml b/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
index 25d4884..95ae691 100644
--- a/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
+++ b/examples/flexjs/ASDoc/src/main/flex/ASDocMainView.mxml
@@ -73,7 +73,7 @@ limitations under the License.
             <js:Label id="packageName"  text="{ASDocModel(applicationModel).currentPackage}"
width="100%"/>
             <js:Label id="baseName" text="{ASDocModel(applicationModel).currentClass}"
width="100%" style="fontSize:20"/>
             <js:Label id="inheritance" text="{ASDocModel(applicationModel).inheritance}"
width="100%"/>
-            <js:MultilineLabel id="attributes" text="{ASDocModel(applicationModel).attributes}"
width="100%"/>
+            <js:MultilineLabel id="attributes" width="100%"/>
             <js:MultilineLabel id="description" text="{ASDocModel(applicationModel).description}"
width="100%"/>
             <js:Label text="Public Properties" />
             <js:List id="publicPropertyList" dataProvider="{ASDocModel(applicationModel).publicProperties}"

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/e19deeda/examples/flexjs/ASDoc/src/main/flex/models/ASDocModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/ASDoc/src/main/flex/models/ASDocModel.as b/examples/flexjs/ASDoc/src/main/flex/models/ASDocModel.as
index 7945983..be18a05 100644
--- a/examples/flexjs/ASDoc/src/main/flex/models/ASDocModel.as
+++ b/examples/flexjs/ASDoc/src/main/flex/models/ASDocModel.as
@@ -278,6 +278,9 @@ package models
             if (data.baseInterfaceNames)
                 extensions = extensions.concat(data.baseInterfaceNames);
 
+            while (extensions.length && extensions[0].indexOf("flash.") == 0)
+                extensions.shift();
+            
             if (extensions.length)
             {
                 app.service.addEventListener("complete", completeInterfaceHandler);


Mime
View raw message