Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
minor: document the progressProxy object
Browse files Browse the repository at this point in the history
  • Loading branch information
rictic committed Oct 24, 2014
1 parent 4d75c13 commit 887f67c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core-ajax.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,10 @@
if (xhr !== this.activeRequest) {
return;
}
// We create a proxy object here because these fields
// on the progress event are readonly properties, which
// causes problems in common use cases (e.g. binding to
// <paper-progress> attributes).
var progressProxy = {
lengthComputable: progress.lengthComputable,
loaded: progress.loaded,
Expand Down

0 comments on commit 887f67c

Please sign in to comment.