You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/09/06 09:37:53 UTC

[GitHub] alinakazi closed pull request #286: changes on 6.sep.2018

alinakazi closed pull request #286: changes on 6.sep.2018
URL: https://github.com/apache/royale-asjs/pull/286
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/events/ProgressEvent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/events/ProgressEvent.as
index 6cfba50e7..7a5b7d332 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/ProgressEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/ProgressEvent.as
@@ -48,13 +48,15 @@ package mx.events
       
 
         
-		
+		 public static const PROGRESS:String = "progress";
+		 
+		 
 		 public function get bytesTotal():Number{
 		    return null;
 		 }
 		 
-         public function set bytesTotal(value:Number):void{
-	     }
+                 public function set bytesTotal(value:Number):void{
+	         }
 		 
 		 
 		
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/net/FileReference.as b/frameworks/projects/MXRoyale/src/main/royale/mx/net/FileReference.as
index b221b1b62..4ff9e2a7f 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/net/FileReference.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/net/FileReference.as
@@ -58,6 +58,16 @@ package mx.net
 	    return null;
 	  }
 	  
+	  public function get size():Number
+	   {
+	     return 0;
+	   }
+      
+	  public function get type():String
+	  {
+	     return null; 
+	  }
+	  
 	  public function save(data:*, defaultFileName:String = null):void
           {
 
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Fault.as b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Fault.as
index 3413b82e8..19323b6d5 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Fault.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/rpc/Fault.as
@@ -96,6 +96,14 @@ public class Fault extends Error
      *  @playerversion AIR 1.1
      *  @productversion Royale 0.9.3
      */
+     
+    COMPILE::JS{
+	public function getStackTrace():String
+	{
+	   return "";;
+	}
+	}
+    
     public function get faultCode():String
     {
         return _faultCode;
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as b/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as
index 4c2fd1fc2..b7871d710 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as
@@ -53,16 +53,17 @@ public class ApplicationDomain extends Object
     {
         super();
     }
-	private var _currentDomain:Object;
 	
-	public function get currentDomain():Object
+  private static var _currentDomain:Object;
+	
+	public static function get currentDomain():Object
     {
         return _currentDomain;
     }
     
     public function set currentDomain(obj:Object):void
     {
-	_currentDomain = obj;
+	      _currentDomain = obj;
     } 
 	
    
diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Label.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Label.as
index d782a17d4..8b8c5b337 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Label.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Label.as
@@ -409,6 +409,35 @@ public class Label extends TextBase
             trace("verticalAlign not implemented");
     }
 	
+	
+	
+    public function get digitWidth():String
+    {
+        return "";
+    }
+    public function set digitWidth(value:String):void
+    {
+        
+    }
+	
+	public function get fontStyle():String
+    {
+        return "";
+    }
+    public function set fontStyle(value:String):void
+    {
+        
+    }
+    
+    public function get textDecoration():String
+    {
+        return "";
+    }
+    public function set textDecoration(value:String):void
+    {
+        
+    }
+    
     //--------------------------------------------------------------------------
     //
     //  Variables


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services