<div dir="ltr">Hello,<div>thanks for your answer.</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/4 Manuel Quiñones <span dir="ltr"><<a href="mailto:manuq@laptop.org" target="_blank">manuq@laptop.org</a>></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
In fabricjs README says it can be build with AMD support<br>
<br>
<a href="https://github.com/kangax/fabric.js/" target="_blank">https://github.com/kangax/fabric.js/</a></blockquote><div><br></div><div><br></div><div>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.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
And this bug is addressed:<br>
<br>
<a href="https://github.com/jrburke/requirejs/issues/729" target="_blank">https://github.com/jrburke/requirejs/issues/729</a></blockquote><div><br></div><div><br></div><div>I've read it, and it seems that they have fixed the bug (if I've well understoood).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
This is the RequireJS section you need to read:<br>
<br>
<a href="http://requirejs.org/docs/api.html#config-shim" target="_blank">http://requirejs.org/docs/api.html#config-shim</a></blockquote><div><br></div><div><br></div><div>Thanks, so I'll try a basic configuration (no dependency, Fabric as exported name).</div>
<div><br></div><div>Regards</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br>
Absolutely suitable :)<br>
<br>
> Regards<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
><br>
<span class=""><font color="#888888"><br>
<br>
<br>
--<br>
.. manuq ..<br>
</font></span></blockquote></div><br></div></div>