Oh man, my middle school teacher would kill me :P. Thanks for the help.
On Jun 18, 2:52 pm, machineghost <[EMAIL PROTECTED]> wrote: > >>Do I what does include to? > > That's not even a sentence, let alone a question, but I'll try to > answer it anyway ;-) > > If you don't want to use the packed version, the files you need are in > lib/MochiKit. The only one you NEED is Base.js; if all you have in > your HTML is: > <script src="Base.js"></script> > you'll be able to use every one of the basic Mochikit functions > without a problem. > > However, MochiKit has a lot more to offer than just the Base library. > Personally I consider the DOM and Signal libraries indispensable, but > I wouldn't be caught dead using the logging library (why bother if you > have Firebug?). You'll have to make a similar decision based on your > needs, and then you will need to include each library you want to use > with a new <script> tag (along with any of their dependencies). > > Of course, the order of these tags will be dictated by their > librariy's requirements. For instance, if you want Base and DOM, > you'll also need Iter and Style, and your HTML should look something > like: > <script src="Base.js"></script> > <script src="Iter.js"></script> <!-- Has to come after Base because it > requires it --> > <script src="Style.js"></script> <!-- Has to come after Base because > it requires it --> > <script src="DOM.js"></script> <!-- Has to come after the other 3, as > it requires all of them --> > > Hope that helps (if it didn't, try making your question as > intelligible as possible next time). > > Jeremy > > On Jun 18, 11:06 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > I downloaded the release version. The basic file structure is: > > > / - Changes, LICENSE.txt, MANIFEST, META.json > > /doc > > /examples > > /include > > /lib > > /packed > > /tests > > > I'd prefer not to use the packed version, so I believe the only folder > > I need is lib. Do I what does include to? > > > On Jun 18, 10:32 am, machineghost <[EMAIL PROTECTED]> wrote: > > > > You probably only need one file: Mochikit.js. This file contains most > > > of the MochiKit libraries (but not all; I forget exactly which ones it > > > leaves out) in a compacted form. The compacting isn't perfect though, > > > so if you really need to remove every last k possible you could > > > probably shrink it a bit more by using the YUI Compressor (or > > > something similar). > > > > Hope that helps. > > > > Jeremy > > > > On Jun 18, 9:57 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > > wrote: > > > > > I want to host the least amount of files, minified. What files/folders > > > > are unnecessary or duplicates but still legal and fully-functional? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to mochikit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---