Skip to content

Commit f9ff465

Browse files
committed
Merge pull request iliakan#243 from Tankerxyz/patch-2
Update index.html
2 parents 2fa5f6e + 376fe41 commit f9ff465

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

4-ajax/6-xhr-onprogress/progress.view/index.html

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,6 @@
1818
document.getElementById('log').innerHTML = html;
1919
}
2020

21-
function onSuccess() {
22-
log('success');
23-
}
24-
25-
function onError() {
26-
log('error');
27-
}
28-
29-
function onProgress(loaded, total) {
30-
log(loaded + ' / ' + total);
31-
}
32-
3321
document.forms.upload.onsubmit = function() {
3422
var file = this.elements.myfile.files[0];
3523
if (file) {
@@ -65,4 +53,4 @@
6553
</script>
6654
</body>
6755

68-
</html>
56+
</html>

0 commit comments

Comments
 (0)