You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/04/16 14:34:32 UTC

[royale-asjs] branch develop updated: jewel-slider: fix remove cast not needed

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 0876193  jewel-slider: fix remove cast not needed
0876193 is described below

commit 08761932453ee60109877e19cde138927d5c31df
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Tue Apr 16 16:34:25 2019 +0200

    jewel-slider: fix remove cast not needed
---
 .../projects/Jewel/src/main/royale/org/apache/royale/jewel/Slider.as   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Slider.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Slider.as
index 8394d92..9655f6d 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Slider.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Slider.as
@@ -191,13 +191,12 @@ package org.apache.royale.jewel
 
         /**
          * @royaleignorecoercion org.apache.royale.core.WrappedHTMLElement
-		 * @royaleignorecoercion HTMLInputElement
 		 * @royaleignorecoercion HTMLDivElement
          */
         COMPILE::JS
         override protected function createElement():WrappedHTMLElement
         {
-			addElementToWrapper(this,'input') as HTMLInputElement;
+			addElementToWrapper(this,'input');
             element.setAttribute('type', 'range');
 			positioner = document.createElement('div') as WrappedHTMLElement;
 			return element;