[Sugar-devel] Web activity : adding a library (not AMD-ready).

laurent bernabe laurent.bernabe at gmail.com
Fri Oct 4 07:53:14 EDT 2013


Hello,
thanks for your answer.


2013/10/4 Manuel Quiñones <manuq at laptop.org>
>
> In fabricjs README says it can be build with AMD support
>
> https://github.com/kangax/fabric.js/



I think that, in my case, the best use of Fabric.js is to configure it in
Require.js (as in the link you gave me) rather than building it myself in
order to make it AMD-ready.


>
>
> And this bug is addressed:
>
> https://github.com/jrburke/requirejs/issues/729



I've read it, and it seems that they have fixed the bug (if I've well
understoood).


>
> This is the RequireJS section you need to read:
>
> http://requirejs.org/docs/api.html#config-shim



Thanks, so I'll try a basic configuration (no dependency, Fabric as
exported name).

Regards


>
>
> Absolutely suitable :)
>
> > Regards
> >
> >
> >
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> >
>
>
>
> --
> .. manuq ..
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131004/715b4c1b/attachment.html>


More information about the Sugar-devel mailing list