[development] replace drupal.js with prototype.js?

Konstantin Käfer kkaefer at gmail.com
Wed Nov 16 07:35:31 UTC 2005

In fact, prototype are separate files. They are just put together for
the release. See http://dev.conio.net/repos/prototype/src/ for the
single files.

2005/11/16, Richard Archer <drupal.org at juggernaut.com.au>:
> At 11:34 AM +1100 16/11/05, Jeremy Epstein wrote:
> >Prototype does indeed seem to be a very light, clean, and extensible
> >library: but nonetheless, it is nowhere near as light as drupal.js.
> >Quick comparison:
> >
> >Drupal.js: 281 lines, 6.21KB
> >Prototype.js: 1039 lines, 27.29KB
> All the Drupal .js files combines come to 18 kB.
> Is it possible to strip prototype down a bit?
> There are a lot of comments in the file that wouldn't be needed
> in a live site.
> What about separating it into function-related files and just
> sending the bits the page needs?
>  ...R.


More information about the development mailing list