From xap-dev-return-37-apmail-incubator-xap-dev-archive=incubator.apache.org@incubator.apache.org Tue Jun 27 15:46:06 2006 Return-Path: Delivered-To: apmail-incubator-xap-dev-archive@locus.apache.org Received: (qmail 19394 invoked from network); 27 Jun 2006 15:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2006 15:46:05 -0000 Received: (qmail 93693 invoked by uid 500); 27 Jun 2006 15:46:05 -0000 Delivered-To: apmail-incubator-xap-dev-archive@incubator.apache.org Received: (qmail 93653 invoked by uid 500); 27 Jun 2006 15:46:05 -0000 Mailing-List: contact xap-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: xap-dev@incubator.apache.org Delivered-To: mailing list xap-dev@incubator.apache.org Received: (qmail 93644 invoked by uid 99); 27 Jun 2006 15:46:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 08:46:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of MTuryn@nexaweb.com designates 64.78.21.133 as permitted sender) Received: from [64.78.21.133] (HELO mail.nexaweb.com) (64.78.21.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 08:46:04 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: RE: Dojo packaging stuff Date: Tue, 27 Jun 2006 08:42:42 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Dojo packaging stuff thread-index: AcaZScs4XikXVfLGTNa2ZzWC2OtJewAAFvbAAAz+5rAAIG/iEA== From: "Michael Turyn" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N James wrote: [...] >function LogFactory(){} >vs. >LogFactory =3D function(){} > >When you eval() the second one you can use LogFactory later. When you eval the first one a call to LogFactory >later gives you symbol undefined.=20 > Is this a problem when all functions are scoped by something owned by [something owned by| [...] ] the "xap" object? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D M. Turyn Software Engineer, Nexaweb Inc.