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 2020/10/28 10:17:23 UTC

[royale-asjs] 01/02: Revert "Fix assertType for js"

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

commit 32eba631f241dbdd914a53993fa4d1f51d0cce96
Author: Harbs <ha...@in-tools.com>
AuthorDate: Wed Oct 28 12:15:12 2020 +0200

    Revert "Fix assertType for js"
    
    This reverts commit 00c5b2ac31a1bbef87a7d388f1bc80476f6ff187.
---
 .../Core/src/main/royale/org/apache/royale/debugging/assertType.as      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Core/src/main/royale/org/apache/royale/debugging/assertType.as b/frameworks/projects/Core/src/main/royale/org/apache/royale/debugging/assertType.as
index 27c28a2..647c60f 100644
--- a/frameworks/projects/Core/src/main/royale/org/apache/royale/debugging/assertType.as
+++ b/frameworks/projects/Core/src/main/royale/org/apache/royale/debugging/assertType.as
@@ -36,7 +36,7 @@ package org.apache.royale.debugging
         COMPILE::JS
         {
             if(goog.DEBUG)
-                console.assert((obj is type),message); 
+                assert((obj is type),message); 
         }
     }
 }