Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion File naming flexibility when using autoload?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Anthony Rowlands  
View profile  
 More options Apr 6 2012, 3:09 pm
From: Anthony Rowlands <draftoma...@gmail.com>
Date: Fri, 6 Apr 2012 13:09:43 -0600
Local: Fri, Apr 6 2012 3:09 pm
Subject: Re: File naming flexibility when using autoload?

Hey, I am having trouble getting Git set up on this machine. Can I just
email it to you?

On Fri, Apr 6, 2012 at 12:22 PM, James Coglan <jcog...@gmail.com> wrote:
> On 6 April 2012 19:17, Anthony Rowlands <draftoma...@gmail.com> wrote:

>> I have refactored all my names to match what we've been discussing.

>> I'm trying to fire everything up again, but the namespace dependencies
>> aren't working. I have a little confusion about mixing autoload() with
>> regular file() calls. Right now at the top of my manifest I have two
>> autoload lines:

>>     autoload(/^(.*)\.[^\.]+$/, {from: CONTEXT_PATH + '/scripts', require:
>> '$1'});
>>     autoload(/^(.*)$/, {from: CONTEXT_PATH + '/scripts'});

>> So I tried requiring one of my classes, which has 1 dependency. That
>> dependency (it's called MyApp.util.Utils) fails to execute because MyApp is
>> not defined.

>> Can you give me a little shove in the right direction?

> I'm not sure just from this info -- could you publish a minimal example
> with the same problem to GitHub?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.