<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }body { font-family: 'Segoe UI'; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>Salut !<div>il y a une virgule en trop : <span style="font-family: 'Segoe UI', Tahoma; line-height: normal; background-color: transparent;"><span style="font-size: 14px;">mber, errorCorrectionLevel</span><font color="#ff0000" style="font-weight: bold; font-size: 24px;">,</font><span style="font-size: 14px;">);</span></span><span style="line-height: 1.5; background-color: transparent;"></span></div><div><div style="FONT-FAMILY: Verdana"><br></div>
<blockquote style="margin-Top: 0px; margin-Bottom: 0px; margin-Left: 0.5em"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>From:</b> <a href="mailto:crazytiti@gmail.com">Titi free par gmail</a></div><div><b>Date:</b> 26-02-2019 23:03</div><div><b>To:</b> <a href="mailto:load@lists.l0ad.org">load@lists.l0ad.org</a></div><div><b>Subject:</b> [Load] Question javascript (script illustrator inside)</div></div></div><div><div>Salut à tous,</div>
<div>J'ai un ptit soucis de javascript :</div>
<div>J’utilise un générateur de qrcode dispo ici :</div>
<div>https://github.com/kazuhikoarase/qrcode-generator/tree/master/js</div>
<div> </div>
<div>Ça marche très bien lorsque utilisé dans un fichier htm.</div>
<div>Mais moi je veux l'utiliser dans un script adobe illustrator.</div>
<div>Et dans ce cas là la fonction qui instancie le code me renvoie une </div>
<div>erreur "File is not a function"</div>
<div>bout de code :</div>
<div>     #include "includes/qrcode.js"</div>
<div>(...)</div>
<div>         var typeNumber = 8;</div>
<div>         var errorCorrectionLevel = 'M';</div>
<div>         var qrnew = qrcode(typeNumber, errorCorrectionLevel,);</div>
<div>(...)</div>
<div> </div>
<div>Une idée ?</div>
<div> </div>
<div>Thibault.</div>
<div>_______________________________________________</div>
<div>Load mailing list</div>
<div>Load@lists.l0ad.org</div>
<div>http://lists.l0ad.org/cgi-bin/mailman/listinfo/load</div>
</div></blockquote></div></body></html>