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 27E64200BD4 for ; Thu, 1 Dec 2016 14:29:22 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 26837160B0F; Thu, 1 Dec 2016 13:29: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 483B2160B0B for ; Thu, 1 Dec 2016 14:29:21 +0100 (CET) Received: (qmail 46037 invoked by uid 500); 1 Dec 2016 13:29:20 -0000 Mailing-List: contact dev-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 dev@flex.apache.org Received: (qmail 46021 invoked by uid 99); 1 Dec 2016 13:29:19 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2016 13:29:19 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 33D39CA90D for ; Thu, 1 Dec 2016 13:29:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.795 X-Spam-Level: *** X-Spam-Status: No, score=3.795 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, NUMERIC_HTTP_ADDR=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id n_8LjWwYlXof for ; Thu, 1 Dec 2016 13:29:15 +0000 (UTC) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D60B160E83 for ; Thu, 1 Dec 2016 13:29:14 +0000 (UTC) Received: by mail-wm0-f54.google.com with SMTP id c184so60068148wmd.0 for ; Thu, 01 Dec 2016 05:29:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=YS911YRMZ8InMdMoSxiAVNsT1gkal0cSCjpxFtbVFYI=; b=RIDXYYNBFr+LROiZXoxVbRM7FUeLpx+x7ibJU5vWmcVwfpVF2kiOMLsU6Ag6xwAEZm uO3Pe3PeVzb7xKuTdTpekc28zbrbrVAxFRv07+lEJr9kddaJ4qsP7wcB3bzzDLrb2nYX bvqapdGyCfrldx5KqoZSxp9WKuPNNdvfaRVlBan74Xhn41qCqCPlJKmny/U1mHrTZkjm Hq0wQoVekU1ccJ2e+4ELKm5WCi0HjREuNRlHswYlKlzHGqOXSarTEAynV7GxYFRglPT7 ApID2rJrFV20No+gZV+5KiVW+6JdHskAkL6LPB/9ZLI38xz3gOi+bLAwSRInYdg6F7x5 cpwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=YS911YRMZ8InMdMoSxiAVNsT1gkal0cSCjpxFtbVFYI=; b=GFMbJEX57v7JzWq0nNAmrnZ7qHc8Zur8zFzmpYwIDrZDB1d7/fY4g67NMQo7JTlBPH fBkqlYSxI3sWyBLGkZIpVqOmdO5OkgERm7MkUKKJdvuL2JQVBZeTzBHHFcuNOgsAjF91 W8DOiEHjmOfM0gKXUfPU5OCvl8gXP6yFZA4A8nQ1aC5n5B0iCXeQSIcTOkHjfhOHq6um b6fcByQimYRa1++9tvQIbgPeBVbIzBfkKZSUhNtjHUFyvLwtiyIIg0/cWZgELgC30N3z QuOmHAKzQXC4/yWRh7jTBQZgSSx88upU8e3HIhe+qX2es87ILa9Dr3lkGw4JpXfsbrSr 9gWA== X-Gm-Message-State: AKaTC03looNiHkwU6ysCvGfwA45QA9nNv+08ydXZaHMpmF5VD3NP+ety6O/QUxJ2DfAluobwfDrgns+1DKoRGw== X-Received: by 10.28.137.193 with SMTP id l184mr31385583wmd.88.1480598947316; Thu, 01 Dec 2016 05:29:07 -0800 (PST) MIME-Version: 1.0 Sender: carlos.rovira@gmail.com Received: by 10.28.145.19 with HTTP; Thu, 1 Dec 2016 05:28:46 -0800 (PST) In-Reply-To: References: <1480575648375-56853.post@n4.nabble.com> From: Carlos Rovira Date: Thu, 1 Dec 2016 14:28:46 +0100 X-Google-Sender-Auth: IIh3ypChUMpeZy-VIgqtR5JVGdU Message-ID: Subject: Re: [FlexJS][Discuss] Test classList in mdl:Button To: "dev@flex.apache.org" Content-Type: multipart/alternative; boundary=001a114417644f4fe2054298ce5d archived-at: Thu, 01 Dec 2016 13:29:22 -0000 --001a114417644f4fe2054298ce5d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Piotr, I think I finished the refactor to class list. I didn't touch your components since maybe you are working on them this will mess your work. So feel free to update as you could. thanks El 1 de diciembre de 2016, 8:37, Carlos Rovira < carlos.rovira@codeoscopic.com> escribi=C3=B3: > Hi Piotr, > > I saw your commit. I think is better to use classList.add in your case. > classList.toggle is used to add/remove based on some condition. I think i= s > working since as there's nothing now the toggle is like and add. > > > > El 1 de diciembre de 2016, 8:34, Carlos Rovira < > carlos.rovira@codeoscopic.com> escribi=C3=B3: > >> Hi Piotr, >> >> yes, you're right. I saw it as I did the commit, but as it was late I >> thought in get to it today. I'll make the changes as I can. >> Thanks! :) >> >> 2016-12-01 8:00 GMT+01:00 piotrz : >> >>> Carlos, >>> >>> I saw your commits with refactoring to classList. Maybe we should do >>> same in >>> "createElement" for created components if it is possible to make it >>> consistent? I just did it in Chip and ButtonChip. >>> >>> Piotr >>> >>> >>> >>> ----- >>> Apache Flex PMC >>> piotrzarzycki21@gmail.com >>> -- >>> View this message in context: http://apache-flex-development >>> .2333347.n4.nabble.com/FlexJS-Discuss-Test-classList-in-mdl- >>> Button-tp56835p56853.html >>> Sent from the Apache Flex Development mailing list archive at Nabble.co= m. >>> >> >> >> >> -- >> >> Carlos Rovira >> Director General >> M: +34 607 22 60 05 <607%2022%2060%2005> >> http://www.codeoscopic.com >> http://www.avant2.es >> >> Este mensaje se dirige exclusivamente a su destinatario y puede contener >> informaci=C3=B3n privilegiada o confidencial. Si ha recibido este mensaj= e por >> error, le rogamos que nos lo comunique inmediatamente por esta misma v= =C3=ADa y >> proceda a su destrucci=C3=B3n. >> >> De la vigente Ley Org=C3=A1nica de Protecci=C3=B3n de Datos (15/1999), l= e >> comunicamos que sus datos forman parte de un fichero cuyo responsable es >> CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la >> prestaci=C3=B3n del servicio o informaci=C3=B3n solicitados, teniendo us= ted derecho >> de acceso, rectificaci=C3=B3n, cancelaci=C3=B3n y oposici=C3=B3n de sus = datos dirigi=C3=A9ndose >> a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la >> documentaci=C3=B3n necesaria. >> >> > > > -- > > Carlos Rovira > Director General > M: +34 607 22 60 05 <607%2022%2060%2005> > http://www.codeoscopic.com > http://www.avant2.es > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > informaci=C3=B3n privilegiada o confidencial. Si ha recibido este mensaje= por > error, le rogamos que nos lo comunique inmediatamente por esta misma v=C3= =ADa y > proceda a su destrucci=C3=B3n. > > De la vigente Ley Org=C3=A1nica de Protecci=C3=B3n de Datos (15/1999), le > comunicamos que sus datos forman parte de un fichero cuyo responsable es > CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la > prestaci=C3=B3n del servicio o informaci=C3=B3n solicitados, teniendo ust= ed derecho > de acceso, rectificaci=C3=B3n, cancelaci=C3=B3n y oposici=C3=B3n de sus d= atos dirigi=C3=A9ndose > a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la > documentaci=C3=B3n necesaria. > > --=20 Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener informaci=C3=B3n privilegiada o confidencial. Si ha recibido este mensaje p= or error, le rogamos que nos lo comunique inmediatamente por esta misma v=C3= =ADa y proceda a su destrucci=C3=B3n. De la vigente Ley Org=C3=A1nica de Protecci=C3=B3n de Datos (15/1999), le c= omunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestaci=C3=B3n del servicio o informaci=C3=B3n solicitados, teniendo usted derecho de acceso, rectificaci=C3=B3n, cancelaci=C3=B3n y oposici=C3=B3n de sus datos dirigi= =C3=A9ndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentaci=C3=B3= n necesaria. --001a114417644f4fe2054298ce5d--