Skip to content

Commit cf3728c

Browse files
authored
Merge pull request #236 from yanhao1991/report_logs
自动发送统计数据到七牛
2 parents 8966fc9 + 636cc90 commit cf3728c

File tree

7 files changed

+1803
-1443
lines changed

7 files changed

+1803
-1443
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ Qiniu-JavaScript-SDK 的示例 Demo 中的服务器端部分是基于[ Node.js
182182
183183
```JavaScript
184184
var uploader = Qiniu.uploader({
185+
disable_statistics_report: false, // 禁止自动发送上传统计信息到七牛,默认允许发送
185186
runtimes: 'html5,flash,html4', // 上传模式,依次退化
186187
browse_button: 'pickfiles', // 上传选择的点选按钮,**必需**
187188
// 在初始化时,uptoken, uptoken_url, uptoken_func 三个参数中必须有一个被设置

demo/scripts/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
$(function() {
77
var uploader = Qiniu.uploader({
8+
disable_statistics_report: false,
89
runtimes: 'html5,flash,html4',
910
browse_button: 'pickfiles',
1011
container: 'container',

0 commit comments

Comments
 (0)