Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过script标签引入,找不到AraleQRCode #27

Open
killernova opened this issue Nov 17, 2015 · 0 comments
Open

通过script标签引入,找不到AraleQRCode #27

killernova opened this issue Nov 17, 2015 · 0 comments

Comments

@killernova
Copy link

如题,根据文件结构引入<script type=:text/javascript src="../dist/arale-qrcode/3.0.5/index.js"></script>,

<script type="text/javascript">

    var qrnode = new AraleQRCode({
      render: 'canvas',
      correctLevel: 0,
      text: 'http://www.alipay.com/',
      size: 300,
      background: '#eeeeee',
      foreground: '#667766',
      pdground: '#00aaee',
      image : 'http://img0.bdstatic.com/img/image/shouye/touxiang1109.jpg',
      imageSize : 100
    });
    document.getElementById('qrcodeCanvas').appendChild(qrnode);
  </script>

提示找不到 AraleQRCode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant