Subj : Re: load() search paths...
To : Ragnarok
From : Jas Hud
Date : Mon Aug 10 2009 06:00 am
Ragnarok wrote:
> Deuce escribi�:
>> jslibs/
>> std/
>> sbbs/
>> ars_defs.js
>> nodedefs.js
>> sbbsdefs.js
>> sockdefs.js
>> uifcdefs.js
>> irc/
>> irc-default.js
>> irclib.js
>> ircd/
>> ircd_channel.js
>> ircd_server.js
>> ircd_unreg.js
>> ircd_user.js
>> mods/
>> irc/
>> irc-cyan.js
>> Etc.
>>
>> This change would impact all JS files, but with reasonable defaults,
>> the impact
>> could be mitigated.
>>
>> Comments?
>>
>> --- Synchronet - Jump on the Web 0.2 bandwagon!
>>
>> ---
>> � Synchronet � My Brand-New BBS (All the cool SysOps run STOCK!)
> i think that the problem is the absolute path
>
> i want to load("pepe.js") and this will earch in the actual path not
> from exec directory
> but, yes,, i agree to better order to the exec directory
>
i disagree with the 'better order' mentality.
i think making another dir for a handful of scripts will, in the long
run just pollute the synchronet dir with an overabundance of directories.
i see no reason who throwing foo* into foo/ is any better than just
having a sensible naming scheme for scripts.
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net