[dojo-contributors] style.js size reduction

Tom Trenka ttrenka at gmail.com
Mon Apr 17 01:22:30 EDT 2006


One thing I'd point out (as you work over style.js) is to recognize that
there's a lot of code there that's HTML-specific; if it's possible, would
you be willing to move that code into html.js at all?  It's mixed in
anyways, but I will say that there was enough HTML-specific code there that
I ended up having to dupe some functions for svg.js, and not mix it in at
all...it will mean an increase in the size of html.js but IMHO that's
probably one of the main files people are going to be using anyways; might
not be a bad idea to think about it.

If you need me to, I can go through style.js and document here what
functions *are* HTML-specific.


On 4/16/06, Alex Russell <alex at dojotoolkit.org> wrote:
> On Sunday 16 April 2006 5:36 pm, Bill Keese wrote:
> > Paul Sowden wrote:
> > > It pains me to see a dramatic change in style pushed through to do
> > > something that should be automated.  To me this is not cleaning
> > > things up, we are fragmenting the internal style yet again.
> >
> > I'd have to agree (especially when there is only a 5% size
> > reduction).
> >
> > Alex, can you change it back?
> Yes.
> --
> Alex Russell
> alex at jot.com
> alex at dojotoolkit.org BE03 E88D EABB 2116 CC49 8259 CF78 E242 59C3 9723
> _______________________________________________
> dojo-contributors mailing list
> dojo-contributors at dojotoolkit.org
> http://dojotoolkit.org/mailman/listinfo/dojo-contributors
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.dojotoolkit.org/pipermail/dojo-contributors/attachments/20060417/67f93a93/attachment.htm 

More information about the dojo-contributors mailing list