After applying JSLinker, Dojo Compressor and JSMin to domTT, I got it down to 21.7K, would that be acceptable?
musachy On 3/16/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
The size is 234K, by the way I didn't know you could build a Dojo profile online, quite cool: http://build.dojotoolkit.org/0.4.2rc2/web/buildscripts/webbuild/ musachy On 3/16/07, Martin Cooper <[EMAIL PROTECTED]> wrote: > > On 3/16/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > > > > I was looking at that yesterday and I think it will be big, these are > the > > imports on Tooltip.js: > > > > dojo.provide("dojo.widget.Tooltip"); > > dojo.require("dojo.widget.ContentPane"); > > dojo.require("dojo.widget.PopupContainer"); > > dojo.require("dojo.uri.Uri"); > > dojo.require("dojo.widget.*"); > > dojo.require("dojo.event.*"); > > dojo.require("dojo.html.style"); > > dojo.require("dojo.html.util"); > > dojo.require(" dojo.html.iframe"); > > > > ContentPane alone is 23K. We can of course build a profile and remove > all > > the functions that are not needed, but that would take a long time to > do. > > > OK, I just wanted to be sure we weren't overlooking the obvious. That > does > look a little hefty for just tooltips. And no, I would not recommend > trying > to shrink the size beyond what the Dojo profile mechanism already > provides. > > -- > Martin Cooper > > > musachy > > > > On 3/16/07, Martin Cooper < [EMAIL PROTECTED]> wrote: > > > > > > On 3/15/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > > > > > > > > The ajaxtags are "working"(plenty of stuff to do yet) from the > dojo > > > > plugin. > > > > We need to find something for the tooltips on core, do you guys > have > > any > > > > recommendations? > > > > > > > > > Sorry if this is too obvious, but have we looked at building a > custom > > > profile of Dojo that includes only the tooltip code? How big would > that > > > be? > > > Or is there another reason we don't want to do that? The fewer > external > > > code > > > bases we need to be familiar with, the better, at least in my > book... > > > > > > -- > > > Martin Cooper > > > > > > > > > I'm looking at this one: > > > > > > > > http://www.mojavelinux.com/projects/domtooltip/ > > > > > > > > which is under Apache 2.0 license and seems to work fine, > compressed > > it > > > is > > > > 25K, which I find still big for just tooltips. > > > > > > > > musachy > > > > -- > > > > "Hey you! Would you help me to carry the stone?" Pink Floyd > > > > > > > > > > > > > > > -- > > "Hey you! Would you help me to carry the stone?" Pink Floyd > > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd
-- "Hey you! Would you help me to carry the stone?" Pink Floyd
