You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/09/06 22:34:55 UTC

[royale-asjs] branch develop updated: Added @debug comment

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

harbs 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 07a444e  Added @debug comment
07a444e is described below

commit 07a444e35323ee5c5072fbba6c26d253287a2506
Author: Harbs <ha...@in-tools.com>
AuthorDate: Fri Sep 7 01:34:46 2018 +0300

    Added @debug comment
    
    (needs new compiler feature)
---
 .../Language/src/main/royale/org/apache/royale/utils/Language.as    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as b/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
index 2a3a8ce..afccad8 100644
--- a/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
+++ b/frameworks/projects/Language/src/main/royale/org/apache/royale/utils/Language.as
@@ -226,13 +226,13 @@ package org.apache.royale.utils
         {
             return isClass(classDef) ? classDef : null;
         }
-        
+        /**
+		 * @debug
+		 */
 		static public function trace(...rest):void
 		{
 			var theConsole:*;
 
-			if (!goog.DEBUG) return;
-			
 			theConsole = goog.global.console;
 
 			if (theConsole === undefined)