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 CCAEA200BBD for ; Tue, 8 Nov 2016 16:25:23 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id CB612160B16; Tue, 8 Nov 2016 15:25:23 +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 ADA1E160B12 for ; Tue, 8 Nov 2016 16:25:22 +0100 (CET) Received: (qmail 65398 invoked by uid 500); 8 Nov 2016 15:25:21 -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 62847 invoked by uid 99); 8 Nov 2016 15:25: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; Tue, 08 Nov 2016 15:25:20 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0C22AE09D3; Tue, 8 Nov 2016 15:25:20 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: cdutz@apache.org To: commits@flex.apache.org Date: Tue, 08 Nov 2016 15:25:45 -0000 Message-Id: In-Reply-To: <0bc57e911f6645fdab103fabbf04586d@git.apache.org> References: <0bc57e911f6645fdab103fabbf04586d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [27/50] git commit: [flex-asjs] [refs/heads/feature-autobuild/example-maven-dirs] - Fix badges to conform to MDL archived-at: Tue, 08 Nov 2016 15:25:24 -0000 Fix badges to conform to MDL Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5a5d97d2 Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5a5d97d2 Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5a5d97d2 Branch: refs/heads/feature-autobuild/example-maven-dirs Commit: 5a5d97d2cc130793b654d2a3422f6fc7e89fc7c1 Parents: 37286bc Author: Carlos Rovira Authored: Fri Nov 4 17:42:13 2016 +0100 Committer: Carlos Rovira Committed: Sun Nov 6 13:15:38 2016 +0100 ---------------------------------------------------------------------- .../flexjs/MDLExample/src/main/flex/App.mxml | 19 ++++++++++++++++--- .../main/flex/org/apache/flex/mdl/beads/Badge.as | 6 +++--- 2 files changed, 19 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5a5d97d2/examples/flexjs/MDLExample/src/main/flex/App.mxml ---------------------------------------------------------------------- diff --git a/examples/flexjs/MDLExample/src/main/flex/App.mxml b/examples/flexjs/MDLExample/src/main/flex/App.mxml index 34aacb8..f0bae30 100644 --- a/examples/flexjs/MDLExample/src/main/flex/App.mxml +++ b/examples/flexjs/MDLExample/src/main/flex/App.mxml @@ -109,17 +109,30 @@ limitations under the License. - + - + + + + + + + + + + + + + - + + http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/5a5d97d2/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as ---------------------------------------------------------------------- diff --git a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as index 02fdfe6..66f5f8a 100644 --- a/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as +++ b/frameworks/projects/MaterialDesignLite/src/main/flex/org/apache/flex/mdl/beads/Badge.as @@ -135,17 +135,17 @@ package org.apache.flex.mdl.beads if (host.element is HTMLSpanElement) { var span:HTMLSpanElement = host.element as HTMLSpanElement; - span.className = "mdl-badge " + _noBackground + _overlap; + span.className += " mdl-badge " + _noBackground + _overlap; span.setAttribute('data-badge', _dataBadge.toString()); } else if (host.element is HTMLDivElement) { var div:HTMLDivElement = host.element as HTMLDivElement; - div.className = "mdl-badge " + _noBackground + _overlap; + div.className += " mdl-badge " + _noBackground + _overlap; div.setAttribute('data-badge', _dataBadge.toString()); } else if (host.element is HTMLElement) { var a:HTMLElement = host.element as HTMLElement; - a.className = "mdl-badge " + _noBackground + _overlap; + a.className += " mdl-badge " + _noBackground + _overlap; a.setAttribute('data-badge', _dataBadge.toString()); } else {