~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
To produce a packed MochiKit.js file:

  1. Get a svn checkout of MochiKit.
  2. Run: python scripts/pack.py
  3. The packed MochiKit.js will be in
     packed/MochiKit/MochiKit.js

To remove top-level modules:

  1. Edit the list MochiKit.MochiKit.SUBMODULES
     that is in MochiKit/MochiKit.js
  2. Run pack again.

We're currently using a packed MochiKit.js that includes:

    "Base",
    "Iter",
    "Logging",
    "DateTime",
    "Async",
    "DOM",
    "Style",
    "Signal",

And excludes:

    "Format"
    "Selector"
    "LoggingPane"
    "Color"
    "Position"
    "Visual"

This takes the size of MochiKit.js that we serve down from 172598 bytes to
97200 bytes.