Update readme.md

This commit is contained in:
DMC 2018-06-28 18:25:10 +08:00 committed by GitHub
parent d96f2f9a4a
commit 064b84d071
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ html code:
<script type="text/javascript" src="js/index.js"></script>
</body>
###simple
index.js **simple** code:
```
var resultMedias=[];
@ -61,7 +61,7 @@ function getThumbnail(medias) {
function loadingUI() {}
```
###upload compress
index.js **upload** and **compress** code:
```
document.getElementById('uploadBtn').onclick = function() {