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 922D5200BB4 for ; Mon, 17 Oct 2016 12:02:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 90BCC160AE5; Mon, 17 Oct 2016 10:02:22 +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 D79B9160AFD for ; Mon, 17 Oct 2016 12:02:21 +0200 (CEST) Received: (qmail 14323 invoked by uid 500); 17 Oct 2016 10:02:20 -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 14241 invoked by uid 99); 17 Oct 2016 10:02:20 -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; Mon, 17 Oct 2016 10:02:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B1F86E08AF; Mon, 17 Oct 2016 10:02:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: carlosrovira@apache.org To: commits@flex.apache.org Date: Mon, 17 Oct 2016 10:02:27 -0000 Message-Id: <5c4486e14622499291a74590584ee1c1@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [8/8] git commit: [flex-asjs] [refs/heads/feature/mdl] - fix MDL swc to use the correct Button archived-at: Mon, 17 Oct 2016 10:02:22 -0000 fix MDL swc to use the correct Button Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/06f1ccaf Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/06f1ccaf Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/06f1ccaf Branch: refs/heads/feature/mdl Commit: 06f1ccafa88d79d42cdf7c6bf5f81340690bcf8e Parents: e9ff385 Author: Alex Harui Authored: Sun Oct 16 21:25:09 2016 -0700 Committer: Carlos Rovira Committed: Mon Oct 17 12:01:53 2016 +0200 ---------------------------------------------------------------------- .../src/main/flex/org/apache/flex/mdl/Button.as | 5 +++-- .../MaterialDesignLite/src/main/resources/mdl-manifest.xml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/06f1ccaf/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as index 11f218c..7f836f6 100644 --- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as +++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/Button.as @@ -66,8 +66,9 @@ package org.apache.flex.mdl override protected function createElement():WrappedHTMLElement { var button:HTMLButtonElement; - - element = button = document.createElement('button') as HTMLButtonElement; + + button = document.createElement('button') as HTMLButtonElement; + element = button as WrappedHTMLElement; button.className = 'mdl-button mdl-js-button mdl-button--fab mdl-button--colored'; positioner = element; http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/06f1ccaf/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml ---------------------------------------------------------------------- diff --git a/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml b/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml index 68dffad..897aab5 100644 --- a/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml +++ b/frameworks/projects/MaterialDesignLite/src/main/resources/mdl-manifest.xml @@ -21,7 +21,7 @@ - +