It seems to me that if this is going to scale we need to automate the generation of mootoolsDependencies.php to actually parse the libraries. Also, it can't cover 100%. For instance, you might need selectors because you are calling $$(...) or you might need Element.Delegation in -more because your selector includes :relay. Stuff like that. Plus there are method names that are identical on different classes and objects. Though thinking about it I think you could cover roughly 99% of the use cases.
On Thu, Aug 27, 2009 at 7:50 AM, rborn <[email protected]> wrote: > > Thanks > what about the More part? It can be done ? > > > On Aug 27, 1:48 pm, Arian <[email protected]> wrote: > > I just copy-pasted the methods from the docs, and this was a fast > > solution, exploding on a newline (PHP_EOL), to get an array. Is > > PHP_EOL defined at your server, otherwise try someting like > > > > if(!defined('PHP_EOL'){ > > define('PHP_EOL',"\n\r"); > > > > } > > > > According tohttp://nl2.php.net/manual/en/reserved.constants.php > > PHP_EOL does exists for a while.. (Available since PHP 4.3.10 and PHP > > 5.0.2) > > > > On 26 aug, 23:18, rborn <[email protected]> wrote: > > > > > > > > > Got it > > > in mootoolsDependencies.php this is causing problems > > > > > explode(PHP_EOL, > > > > > I replaced it with explode(',', .... > > > > > and of course the containing string adapted accordingly > > > > > On Aug 26, 11:06 pm, rborn <[email protected]> wrote: > > > > > > I've downloaded the script from google, on your server works, on mine > > > > no :( > > > > Different versions? > > > > > > Thanks > > > > On Aug 26, 10:51 pm, rborn <[email protected]> wrote: > > > > > > > This works only for Core, right? > > > > > Is a really useful and needed tool, thank you :) > > > > > > > On Aug 26, 1:39 pm, Oskar Krawczyk <[email protected]> > wrote: > > > > > > > > Pretty great! Promoting via @mootoolified: > http://twitter.com/mootoolified/status/3554653948 > > > > > > > > ___ > > > > > > > > Oskar Krawczykhttp://nouincolor.com > > > > > > > > On Tue, Aug 25, 2009 at 20:04, Arian <[email protected]> > wrote: > > > > > > > > > Hi There, > > > > > > > > > I just uploaded my MooTools Service: Mootools Dependency > Checker. With > > > > > > > this tool you can determine what mootools components you need. > > > > > > > You can give one or more URLs and it will give you the > components you > > > > > > > need, so you can go easily to the MooTools download page and > only > > > > > > > download the components you need! Since > > > > > > >http://www.icebeat.bitacoras.com/public/mootools/packito/ > > > > > > > didn't upgrade to 1.2, I had to build one for myself, and of > course I > > > > > > > want to share it with you. > > > > > > > > > So check it out right here: > http://www.aryweb.nl/projects/mooDeps/ > > > > > > > > > The source code: You can find it right here: > > > > > > > > http://code.google.com/p/awfmootools/source/browse/trunk/mooDeps/ > > > > > > > I would really appreciate it if you want to help improve it. > > > > > > > > > Happy Downloading MooTools with the right Components. >
