(e)
| 6646 | |
| 6647 | // -------- onprogress 事件 -------- |
| 6648 | function updateProgress(e) { |
| 6649 | if (e.lengthComputable) { |
| 6650 | var percentComplete = e.loaded / e.total; |
| 6651 | editor.showUploadProgress(percentComplete * 100); |
| 6652 | } |
| 6653 | } |
| 6654 | |
| 6655 | // -------- xhr 上传图片 -------- |
| 6656 | editor.xhrUploadImg = function (opt) { |
nothing calls this directly
no outgoing calls
no test coverage detected