Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E1CA10CBF for ; Wed, 6 Nov 2013 16:13:36 +0000 (UTC) Received: (qmail 70103 invoked by uid 500); 6 Nov 2013 16:13:34 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 70083 invoked by uid 500); 6 Nov 2013 16:13:34 -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 70075 invoked by uid 99); 6 Nov 2013 16:13:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 16:13:34 +0000 X-ASF-Spam-Status: No, hits=-1.3 required=5.0 tests=FRT_ADOBE2,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pent@adobe.com designates 64.18.1.236 as permitted sender) Received: from [64.18.1.236] (HELO exprod6og120.obsmtp.com) (64.18.1.236) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 16:13:28 +0000 Received: from outbound-smtp-1.corp.adobe.com ([192.150.11.134]) by exprod6ob120.postini.com ([64.18.5.12]) with SMTP ID DSNKUnpqk7hwc9Xwlfu4lN5BRN626e5Fy7+9@postini.com; Wed, 06 Nov 2013 08:13:08 PST Received: from inner-relay-1.corp.adobe.com ([153.32.1.51]) by outbound-smtp-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id rA6G9Nt2018957 for ; Wed, 6 Nov 2013 08:09:23 -0800 (PST) Received: from nahub01.corp.adobe.com (nahub01.corp.adobe.com [10.8.189.97]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id rA6GD76A027514 for ; Wed, 6 Nov 2013 08:13:07 -0800 (PST) Received: from nambxv01a.corp.adobe.com ([10.8.189.95]) by nahub01.corp.adobe.com ([10.8.189.97]) with mapi; Wed, 6 Nov 2013 08:13:06 -0800 From: Peter Ent To: "dev@flex.apache.org" Date: Wed, 6 Nov 2013 08:13:05 -0800 Subject: Re: [FLEXJS] JS framework: gjslint Thread-Topic: [FLEXJS] JS framework: gjslint Thread-Index: Ac7bCxO6KZLsBg6iSimgL8hHn4W53A== Message-ID: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.3.8.130913 acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I haven't tried all of the example yet. Was going to do that once I finished up a wiki page and cleaned up the remaining glint issues. The discrepancy is known and it is something I have been working on recently. I haven't attempted any @interface stuff yet, so I created some base classes to mimic interfaces (e.g., org.apache.flex.core.IBeadView) but did not create one for org.apache.flex.core.IBead. --peter On 11/6/13 10:54 AM, "Erik de Bruin" wrote: >I have spend the day running all JS files through JSHint and gjslint. >I fixed about 6 errors that emerged (vars not declared etc.) up, but I >also corrected all whitespace. It's a monster commit, if I get it >finished ;-) > >Another issue: there is a rather large discrepancy between the class >structure on the AS side vs. the JS side. Case in point is the lack of >an IBeads interface on the JS side. I think the idea is to make the JS >side mirror the structure of the AS side as closely as possible? > >And lastly (yeah, right... ;-)) how about the examples? Which ones are >working for you, either in debug mode or in both debug AND release >mode? > >EdB > > > > > >On Wed, Nov 6, 2013 at 4:48 PM, Peter Ent wrote: >> I checked a number of files in yesterday and I'm pretty sure a handful >> won't pass glint right now; I meant to do them all, but forgot some so >>I'm >> doing them this morning. If you want to go ahead and run the tool just >>to >> see if and how failures pop-up, go right ahead. >> >> --peter >> >> On 11/6/13 2:40 AM, "Erik de Bruin" wrote: >> >>>Hi, >>> >>>I would like to run the entire JS framework through the 'gjslint' >>>tool. This is the JS linter provided by Google to check code that is >>>to be processed by the Closure Compiler. >>> >>>It has some very strict whitespace rules, that will result in changes >>>in most files (although we started out with a clean, gjslint approved >>>version a long while ago, when I implemented 'goog' event handling). >>> >>>The main advantages are that all code will be consistently formatted >>>and that it will most likely catch some annotation and related >>>errors/omissions. >>> >>>If no one (Alex, Peter) has commits pending, I am ready to go. >>> >>>EdB >>> >>> >>> >>>-- >>>Ix Multimedia Software >>> >>>Jan Luykenstraat 27 >>>3521 VB Utrecht >>> >>>T. 06-51952295 >>>I. www.ixsoftware.nl >> > > > >--=20 >Ix Multimedia Software > >Jan Luykenstraat 27 >3521 VB Utrecht > >T. 06-51952295 >I. www.ixsoftware.nl