On Feb 6, 5:28 pm, Shakakai <[EMAIL PROTECTED]> wrote: > I'm starting work on a mobile development platform and I'd love to use > portions of Prototype. There's no way I can include the whole thing. > > No to scriptaculous's loading system. > Yes to a custom Prototype build. > > Is there something like that floating around?
You could check out the source (http://svn.rubyonrails.org/rails/ spinoffs/prototype/trunk) and edit src/prototype.js. It uses an erb- like syntax to load the the other modules in src (ajax, array, form, event, etc.) Remove the ones you don't need, run "rake dist" from the root, run the tests in test/unit and test/functional, make sure everything you need works, and what you've got in dist/prototype.js is a scaled down version. You could edit the individual modules to get more granular, but it might get you closer. Nathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
