Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 64CDE200C23 for ; Wed, 22 Feb 2017 10:40:29 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 636F0160B67; Wed, 22 Feb 2017 09:40:29 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AB6EE160B49 for ; Wed, 22 Feb 2017 10:40:28 +0100 (CET) Received: (qmail 13538 invoked by uid 500); 22 Feb 2017 09:40:27 -0000 Mailing-List: contact commits-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list commits@flex.apache.org Received: (qmail 13530 invoked by uid 99); 22 Feb 2017 09:40:27 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Feb 2017 09:40:27 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CBBE5DFF0B; Wed, 22 Feb 2017 09:40:27 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: harbs@apache.org To: commits@flex.apache.org Message-Id: <48252543f6d34b778f2f806652b134f9@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: [flex-asjs] [refs/heads/develop] - Fixed JIRA FLEX-35266 Slider positioner should not have the mdl classes. That causes an extra conatiner to be added. Date: Wed, 22 Feb 2017 09:40:27 +0000 (UTC) archived-at: Wed, 22 Feb 2017 09:40:29 -0000 Repository: flex-asjs Updated Branches: refs/heads/develop 64c06150b -> 7ba69d4ec Fixed JIRA FLEX-35266 Slider positioner should not have the mdl classes. That causes an extra conatiner to be added. Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7ba69d4e Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7ba69d4e Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7ba69d4e Branch: refs/heads/develop Commit: 7ba69d4ec53c2f30fe8550bc773c251e10ffcc51 Parents: 64c0615 Author: Harbs Authored: Wed Feb 22 11:40:02 2017 +0200 Committer: Harbs Committed: Wed Feb 22 11:40:02 2017 +0200 ---------------------------------------------------------------------- .../src/main/flex/org/apache/flex/mdl/Slider.as | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7ba69d4e/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as index a8a4ace..768a202 100644 --- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as +++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Slider.as @@ -191,14 +191,12 @@ package org.apache.flex.mdl COMPILE::JS override protected function createElement():WrappedHTMLElement { - typeNames = "mdl-slider mdl-js-slider"; - var p:HTMLElement = document.createElement('p') as HTMLElement; p.style.width = '300px'; input = document.createElement('input') as HTMLInputElement; input.type = "range"; - input.className = typeNames; + input.className = "mdl-slider mdl-js-slider"; p.appendChild(input);