FYI: Relying on jslib now
Paul Everitt <paul-+XpZaIz3/[email protected]> Sat, 8 Mar 2003 15:58:39 +0100
| Newsgroups | gmane.comp.cms.oscom.twingle.devel |
|---|---|
| Message-ID | <[email protected]> |
Howdy. Sometimes you have to accept 1 unit of complexity to free yourself from 10 units of complexity. I bit the bullet (american expression) and added a dependency on JSLIB. (Gregor thinks it has been added to core moz, but if it has, it's been renamed and I can't find it.) Thus, we'll require the user to first install: http://jslib.mozdev.org/ We can provide for this ourselves later. It's amazing how many lines of JS this has eliminated. In fact, the lines eliminated were pretty complex ones. Before, I was building the startup RDF manually, node by node, property by property. Now I just copy three boilerplate files over. We now have a "twingle" dir in the Mozilla profile dir. This will also let us add local content to the "Local Site" folder. I haven't checked stuff in yet. When I get to a clean stopping point, I'll do so. --Paul