Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CD3109FF0 for ; Fri, 7 Dec 2012 20:14:33 +0000 (UTC) Received: (qmail 68978 invoked by uid 500); 7 Dec 2012 20:14:32 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 68890 invoked by uid 500); 7 Dec 2012 20:14:32 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 68881 invoked by uid 99); 7 Dec 2012 20:14:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2012 20:14:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.223.181] (HELO mail-ie0-f181.google.com) (209.85.223.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Dec 2012 20:14:26 +0000 Received: by mail-ie0-f181.google.com with SMTP id 16so2356704iea.12 for ; Fri, 07 Dec 2012 12:14:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=w8M7vnAGeJruvCWLD8ycGt8EWymjAL5F8ZGNAhFfef4=; b=mFcbF2R4s6DOZ8wiT0qRXIbws2BKV3BYVEcfL08fHYZQPOuVOB9xBmXv6YZxOBUOAm iz7ohKBgXkQ04jmOGj2YjwR9/A3qvz23O9oSmOiH2Mhr1vug3ZvA21Z/CrsI8C6a/R+C Y+Gdpu9R6dFn2OLR52IwB/sELFpYSrl4y8wuh8NssXjBEh3nP8YYk5uWi3GK9zFIyekk 72wfyZvFDqIpQt6szdVrSoRXg2c6OaokiE6sjXK7YROiGngJAi3unroMXIta73EDFRvo 5oUrGE8Ljf3hQ/3QWUPvMQlCB0/wur5kHNDH1tq9JRzw3wpOz5kqhS2bJFJpycOI89Nr B3uQ== MIME-Version: 1.0 Received: by 10.50.214.97 with SMTP id nz1mr221091igc.36.1354911245957; Fri, 07 Dec 2012 12:14:05 -0800 (PST) Received: by 10.64.34.234 with HTTP; Fri, 7 Dec 2012 12:14:05 -0800 (PST) In-Reply-To: <20121207144533.16561hjwybgqb4v1@franklin.liquidweb.com> References: <20121207081513.7696728im84x0xr5@franklin.liquidweb.com> <20121207090945.17551cvvk7apcy3t@franklin.liquidweb.com> <20121207100130.179441scvue0mzey@franklin.liquidweb.com> <20121207102705.33717wsadaemzg7d@franklin.liquidweb.com> <20121207132443.84211x6by5tdfgx7@franklin.liquidweb.com> <20121207142630.45212yeshk8g959i@franklin.liquidweb.com> <20121207144533.16561hjwybgqb4v1@franklin.liquidweb.com> Date: Fri, 7 Dec 2012 21:14:05 +0100 Message-ID: Subject: Re: [ASJS] Adjusting FalconJS output (no general discussion in this thread, please) From: Erik de Bruin To: "flex-dev@incubator.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnX8pCfr7q568gjyTOXlBYV4OIXQaJMfhxvbKysoxt56snqJaaX/dg+ZYFip2I+NG1odOOD X-Virus-Checked: Checked by ClamAV on apache.org Correct on the first one [1]. On the second one, I would tentatively say "no, it doesn't have to be there"... but a definitive answer might require some more research. EdB 1: https://cwiki.apache.org/confluence/display/FLEX/AS+to+JS+translation+table On Fri, Dec 7, 2012 at 8:45 PM, Michael Schmalle wrote: > > Quoting Erik de Bruin : > >> In GC, in combination with the way we set up inheritance, 'super()' is >> 'goog.base()': [1] >> >> If called from the constructor - as we already implemented - 'this' is >> the only argument. >> >> If calling a super method, use 'goog.base(this, "methodName", args)' >> >> EdB >> >> 1: >> http://closure-library.googlecode.com/svn/docs/closure_goog_base.js.html > > > Ok that makes sense, I'm guessing that if a class extends Object, nothing is > present correct? > > What about a subclass that does not call super, does goog.base() still need > to be there? > > Mike > > >> >> On Fri, Dec 7, 2012 at 8:26 PM, Michael Schmalle >> wrote: >>> >>> After doing some more research, the super() implementation in general is >>> a >>> rats nest that needs to be figured out. >>> >>> Can someone give me the rules as to how super works with GC? If it's not >>> present etc, is super.myMethod() allowed? >>> >>> Mike >>> > > > -- > Michael Schmalle - Teoti Graphix, LLC > http://www.teotigraphix.com > http://blog.teotigraphix.com > -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl