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 101b933  jewel: remove unused code
101b933 is described below

commit 101b9331f12b15d1a6e781481de876c12a6cf08c
Author: Carlos Rovira <carlos.rov...@apache.org>
AuthorDate: Sun Jun 7 13:28:15 2020 +0200

    jewel: remove unused code
---
 .../projects/Jewel/src/main/resources/defaults.css |  5 -----
 .../main/royale/org/apache/royale/jewel/Grid.as    |  1 -
 .../jewel/beads/layouts/TileHorizontalLayout.as    | 23 ---------------------
 .../jewel/beads/layouts/TileVerticalLayout.as      | 24 ----------------------
 .../projects/Jewel/src/main/sass/_global.sass      |  4 ----
 5 files changed, 57 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/resources/defaults.css 
b/frameworks/projects/Jewel/src/main/resources/defaults.css
index 9098be8..cbf3b2f 100644
--- a/frameworks/projects/Jewel/src/main/resources/defaults.css
+++ b/frameworks/projects/Jewel/src/main/resources/defaults.css
@@ -64,11 +64,6 @@ j|ApplicationResponsiveView {
   height: 100%;
 }
 
-j|ApplicationView {
-  IBeadView: ClassReference("org.apache.royale.html.beads.GroupView");
-  IBeadLayout: 
ClassReference("org.apache.royale.jewel.beads.layouts.NullLayout");
-}
-
 j|Group {
   IBeadLayout: 
ClassReference("org.apache.royale.jewel.beads.layouts.BasicLayout");
   IBeadView: ClassReference("org.apache.royale.html.beads.GroupView");
diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Grid.as 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Grid.as
index ec78ea0..0da79d4 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Grid.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Grid.as
@@ -19,7 +19,6 @@
 package org.apache.royale.jewel
 {
        import org.apache.royale.jewel.beads.layouts.GridLayout;
-       import org.apache.royale.jewel.beads.layouts.StyledLayoutBase;
        import 
org.apache.royale.jewel.supportClasses.container.AlignmentItemsContainer;
        import org.apache.royale.utils.StringUtil;
 
diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/TileHorizontalLayout.as
 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/TileHorizontalLayout.as
index 2d88765..3c5c8b9 100644
--- 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/TileHorizontalLayout.as
+++ 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/TileHorizontalLayout.as
@@ -59,29 +59,6 @@ package org.apache.royale.jewel.beads.layouts
                public static const LAYOUT_TYPE_NAMES:String = "layout 
horizontal tile";
 
                /**
-                *  @copy org.apache.royale.core.IBead#strand
-                *  
-                *  @langversion 3.0
-                *  @playerversion Flash 10.2
-                *  @playerversion AIR 2.6
-                *  @productversion Royale 0.9.8
-                */
-               // override public function set strand(value:IStrand):void
-               // {
-               //      super.strand = value;
-               //      listenOnStrand("sizeChanged", sizeChangedNeeded);
-               // }
-
-               /**
-                *  sizeChangedNeeded
-                * 
-                *  @param event 
-                */
-               // private function sizeChangedNeeded(event:Event):void
-               // {
-               //      layout();
-               // }
-               /**
                 *  Add class selectors when the component is addedToParent
                 *  Otherwise component will not get the class selectors when 
                 *  perform "removeElement" and then "addElement"
diff --git 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/TileVerticalLayout.as
 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/TileVerticalLayout.as
index ff7fcd9..b953c1b 100644
--- 
a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/TileVerticalLayout.as
+++ 
b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/beads/layouts/TileVerticalLayout.as
@@ -57,30 +57,6 @@ package org.apache.royale.jewel.beads.layouts
                }
 
                public static const LAYOUT_TYPE_NAMES:String = "layout vertical 
tile";
-
-               /**
-                *  @copy org.apache.royale.core.IBead#strand
-                *  
-                *  @langversion 3.0
-                *  @playerversion Flash 10.2
-                *  @playerversion AIR 2.6
-                *  @productversion Royale 0.9.8
-                */
-               // override public function set strand(value:IStrand):void
-               // {
-               //      super.strand = value;
-               //      listenOnStrand("sizeChanged", sizeChangedNeeded);
-               // }
-
-               /**
-                *  sizeChangedNeeded
-                * 
-                *  @param event 
-                */
-               // private function sizeChangedNeeded(event:Event):void
-               // {
-               //      layout();
-               // }
                
                /**
                 *  Add class selectors when the component is addedToParent
diff --git a/frameworks/projects/Jewel/src/main/sass/_global.sass 
b/frameworks/projects/Jewel/src/main/sass/_global.sass
index e9b8494..dca0bb3 100644
--- a/frameworks/projects/Jewel/src/main/sass/_global.sass
+++ b/frameworks/projects/Jewel/src/main/sass/_global.sass
@@ -60,10 +60,6 @@ j|ApplicationResponsiveView
        width: 100%
        height: 100%
 
-j|ApplicationView
-       IBeadView: ClassReference("org.apache.royale.html.beads.GroupView")
-       IBeadLayout: 
ClassReference("org.apache.royale.jewel.beads.layouts.NullLayout")
-
 // .responsive
 //     width: 100%
 //     height: 100%

Reply via email to