[Load] Question javascript (script illustrator inside)

Slider04 slider04 at gmail.com
Mer 27 Fév 08:45:05 CET 2019


Salut !
il y a une virgule en trop : mber, errorCorrectionLevel,);

 
From: Titi free par gmail
Date: 26-02-2019 23:03
To: load at lists.l0ad.org
Subject: [Load] Question javascript (script illustrator inside)
Salut à tous,
J'ai un ptit soucis de javascript :
J’utilise un générateur de qrcode dispo ici :
https://github.com/kazuhikoarase/qrcode-generator/tree/master/js
 
Ça marche très bien lorsque utilisé dans un fichier htm.
Mais moi je veux l'utiliser dans un script adobe illustrator.
Et dans ce cas là la fonction qui instancie le code me renvoie une 
erreur "File is not a function"
bout de code :
    #include "includes/qrcode.js"
(...)
        var typeNumber = 8;
        var errorCorrectionLevel = 'M';
        var qrnew = qrcode(typeNumber, errorCorrectionLevel,);
(...)
 
Une idée ?
 
Thibault.
_______________________________________________
Load mailing list
Load at lists.l0ad.org
http://lists.l0ad.org/cgi-bin/mailman/listinfo/load
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.l0ad.org/pipermail/load/attachments/20190227/e7ec53b3/attachment.html>


More information about the Load mailing list