Skip to content

Commit

Permalink
Merge pull request #20 from aralejs/3.0.2
Browse files Browse the repository at this point in the history
this.AraleQRCode
  • Loading branch information
sehuo committed Aug 14, 2015
2 parents 2884681 + 5e964ee commit 757f6ab
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .spmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ dist/
node_modules/
spm_modules/
_site/
src/
examples/
tests/
.gitignore
.git
.DS_Store
.DS_Store
4 changes: 4 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# History

---
## 3.0.4

`tag:new` 支付script引用的变量挂载

## 3.0.1

`tag:fixed` 预编译es6语法,解决被require时打包问题
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,14 @@ image的宽和高,单位px

默认:`30`


## other

支持script标签引用,暴露全局变量为 AraleQRCode

```
<script src='dist/arale-qrcode/3.0.2/lib/index.js'></script>
<script>
new AraleQRCode({...});
</script>
```
1 change: 0 additions & 1 deletion dist/arale-qrcode/3.0.1/lib/index.js

This file was deleted.

0 comments on commit 757f6ab

Please sign in to comment.