[Sugar-devel] Using the DojoToolkit in a Sugar WebService ?

laurent bernabe laurent.bernabe at gmail.com
Thu Oct 3 09:03:26 EDT 2013


In fact, there should be better in order to save space :
in dojo, I've noticed that each library is given in minified version and
plain version. So I am trying to build a terminal command which will remove
all "*.uncompressed.js" files.
But for now, I am far from being a terminal guru ...

I've tried with something like
rm -Rf FILE_PATTERN
but it is not it purpose (it is rather for removing a directory and its
subdirectories), and fail.

Regards


2013/10/3 Manuel Quiñones <manuq at laptop.org>

> 2013/10/3 Manuel Quiñones <manuq at laptop.org>:
> > 2013/10/3 laurent bernabe <laurent.bernabe at gmail.com>:
> >>
> >>
> >>
> >> 2013/10/3 Manuel Quiñones <manuq at laptop.org>
> >>>
> >>>
> >>> OK, I suggest you give a try to Dojo and come back later to tell us
> >>> how it went.  Your investigation can be valuable for future activity
> >>> developers.
> >>
> >>
> >> The only drawback, apart to the one you pointed to me, is the size of
> Dojo
> >> when installing with volo (Maybe, I can download only the core part. Is
> it
> >> possible with Volo ?) : around  3Mb. And I don't think that is the
> ideal for
> >> a bundle XO.
> >
> > Yeah Dojo is big.
>
> I just checked and the bulk of the weight ~2.5MB is in directories
> dojo/cldr and dojo/nls . Those contain locale data, derived from the
> CLDR project.  Maybe you can just remove them?
>
> --
> .. manuq ..
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131003/f827f971/attachment.html>


More information about the Sugar-devel mailing list