You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/03/21 08:07:35 UTC

[royale-asjs] 02/03: get rid of some warnings

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

aharui pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 7fac729530336bc4bfd6e7c5bdf503e88b211a24
Author: Alex Harui <ah...@apache.org>
AuthorDate: Wed Mar 21 00:48:31 2018 -0700

    get rid of some warnings
---
 mustella/tests/mxtests/basicTests/BasicTests.css   | 272 +++++++++++----------
 .../basicTests/halo/scripts/ButtonTestScript.mxml  |   2 +-
 2 files changed, 139 insertions(+), 135 deletions(-)

diff --git a/mustella/tests/mxtests/basicTests/BasicTests.css b/mustella/tests/mxtests/basicTests/BasicTests.css
index 978bc88..19b5e5a 100644
--- a/mustella/tests/mxtests/basicTests/BasicTests.css
+++ b/mustella/tests/mxtests/basicTests/BasicTests.css
@@ -16,142 +16,146 @@
  *  limitations under the License.
  *
  */
-
-@namespace "library://ns.adobe.com/flex/spark";
-@namespace mx "library://ns.adobe.com/flex/mx";
-
-.global {
-    font-family:"Tahoma";
-    font-size:11px;
-    color:#222222;
-}
-
-.appTitle {
-    font-weight:bold;
-    font-size:16px;
-}
-
-mx|Application {
-/*	background-image: "";
-    theme-color:#CC6600;   */
-    selection-color:#D0DFE6;
-    roll-over-color:#E6F0F3;
-    background-color:#FFFFFF;
-    font-family: Verdana;
-}
-
-
-
-mx|Panel {
-/*    header-colors: #FAEED1, #E3C38D;
-    footer-colors: #F4DBB0, #E3C38D;  */
-    corner-radius:10;
-/*    drop-shadow: true;
-    shadow-distance:6;  */
-    margin-top:0;
-    margin-left:0;
-    margin-right:0;
-    margin-bottom:0;
-}
-
-
-
-mx|Button {
-    color: #FFFFFF;
-    disabled-color: #999999;
-    text-roll-over-color: #FFFFFF;
-    font-family:"Verdana";
-    font-size: 9px;
-    font-weight: "bold";
-/*    fill-colors: #C86336, #763322;  */
-    corner-radius:8;
-/*    border-color: #854230;
-    border-thickness:3;  */
-	foo: 42;  /* This should not cause a warning or error. */
-}
-
-
-mx|CheckBox {
-    color: #000000;
-    font-size: 10px;
-    font-weight: "normal";
-}
-
-mx|RadioButton {
-    color: #000000;
-    font-size: 10px;
-    font-weight: "normal";
-}
-
-
-
-mx|DataGrid {
-    alternating-row-colors:#FFFCEC,#FFF6E2;
-    border-style:"solid";
-    border-color:#CCCCCC;
-    header-color:#FAEED1;
-    v-grid-line-color:#CCCCCC;
-    color:#111111;
-    font-size:9px;
-    text-indent:4;
-}
-
-
-
-
-mx|ComboBox {
-    color: #111111;
-    text-roll-over-color: #111111;
-    font-size:9px;
-    font-weight: "bold";
-/*    fill-colors: #FFFFFF, #C2CCCF;  */
-    background-color: #FFFCEC;
-    corner-radius: 7;
-/*    border-thickness: 1;
-    border-color: #854230;  */
-    margin-left: 6;
-    selection-color:#f5dcb2;
-    roll-over-color:#faeed1;
-
-}
-
-
-mx|HSlider {
-/*    fill-colors: #FFFFFF, #C2CCCF;
-    track-colors: #FAEED1, #E3C38D;
-    border-color: #666666;  */
-    tick-color: #666666;
-    label-offset: -3;
-    tick-offset: -3;
-    track-highlight: true;
-}
-
-mx|Menu {
-	openDuration: 250;
-}
+
+@namespace "library://ns.adobe.com/flex/spark";
+@namespace mx "library://ns.apache.org/royale/mx";
+
+.global {
+    font-family:"Tahoma";
+    font-size:11px;
+    color:#222222;
+}
+
+.appTitle {
+    font-weight:bold;
+    font-size:16px;
+}
+
+mx|Application {
+/*	background-image: "";
+    theme-color:#CC6600;   */
+    selection-color:#D0DFE6;
+    roll-over-color:#E6F0F3;
+    background-color:#FFFFFF;
+    font-family: Verdana;
+}
+
+
+
+/*    header-colors: #FAEED1, #E3C38D;
+    footer-colors: #F4DBB0, #E3C38D;  */
+/*    drop-shadow: true;
+    shadow-distance:6;  */
+/*mx|Panel {
+    corner-radius:10;
+    margin-top:0;
+    margin-left:0;
+    margin-right:0;
+    margin-bottom:0;
+}
+*/
+
+
+/*    fill-colors: #C86336, #763322;  */
+/*    border-color: #854230;
+    border-thickness:3;  */
+/*foo: 42;  *//* This should not cause a warning or error. */
+/*mx|Button {
+    color: #FFFFFF;
+    disabled-color: #999999;
+    text-roll-over-color: #FFFFFF;
+    font-family:"Verdana";
+    font-size: 9px;
+    font-weight: "bold";
+    corner-radius:8;
+}
+*/
+
+mx|CheckBox {
+    color: #000000;
+    font-size: 10px;
+    font-weight: "normal";
+}
 
 /*
+mx|RadioButton {
+    color: #000000;
+    font-size: 10px;
+    font-weight: "normal";
+}
+
+
+
+mx|DataGrid {
+    alternating-row-colors:#FFFCEC,#FFF6E2;
+    border-style:"solid";
+    border-color:#CCCCCC;
+    header-color:#FAEED1;
+    v-grid-line-color:#CCCCCC;
+    color:#111111;
+    font-size:9px;
+    text-indent:4;
+}
+*/
+
+
+/*    fill-colors: #FFFFFF, #C2CCCF;  */
+/*    border-thickness: 1;
+    border-color: #854230;  */
+
+/* mx|ComboBox {
+    color: #111111;
+    text-roll-over-color: #111111;
+    font-size:9px;
+    font-weight: "bold";
+    background-color: #FFFCEC;
+    corner-radius: 7;
+    margin-left: 6;
+    selection-color:#f5dcb2;
+    roll-over-color:#faeed1;
+
+}
+*/
+
+
+/*    fill-colors: #FFFFFF, #C2CCCF;
+    track-colors: #FAEED1, #E3C38D;
+    border-color: #666666;  */
+/*mx|HSlider {
+    tick-color: #666666;
+    label-offset: -3;
+    tick-offset: -3;
+    track-highlight: true;
+}
+*/
+
+/*mx|Menu {
+	openDuration: 250;
+}
+*/
+/*
 Apache Flex: requires rideau.jar which is not open-source 
-
-@font-face {
-	src: url("BickhamScriptPro-Regular.otf");
-	fontFamily: "TestFont";
-	embedAsCFF: true;
-}
+
+@font-face {
+	src: url("BickhamScriptPro-Regular.otf");
+	fontFamily: "TestFont";
+	embedAsCFF: true;
+}
 
 */
-
-TextInput {
-/*    font-family:"TestFont";  */
-    paddingTop: 5;
-
-}
-
-@media (os-platform: "Android") and (application-dpi: 160)
-{
-    mx|ComboBox 
-    {
-        color: #111111;
-        fontSize:9px;
-    }
-}
+
+/*    font-family:"TestFont";  */
+/*TextInput {
+    paddingTop: 5;
+
+}
+
+@media (os-platform: "Android") and (application-dpi: 160)
+{
+    mx|ComboBox 
+    {
+        color: #111111;
+        fontSize:9px;
+    }
+}
+*/
\ No newline at end of file
diff --git a/mustella/tests/mxtests/basicTests/halo/scripts/ButtonTestScript.mxml b/mustella/tests/mxtests/basicTests/halo/scripts/ButtonTestScript.mxml
index 50792b9..eea47a9 100644
--- a/mustella/tests/mxtests/basicTests/halo/scripts/ButtonTestScript.mxml
+++ b/mustella/tests/mxtests/basicTests/halo/scripts/ButtonTestScript.mxml
@@ -22,7 +22,7 @@
 	<!-- this set of lines form a template that must be in each unit test -->
 	<mx:Script>
 	<![CDATA[
-	public static function init(o:DisplayObject):void
+	public static function init(o:Object):void
 	{
 	}
 	]]>

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.