gemup.js
function() {
            var xhr = $.ajaxSettings.xhr();
            if (!xhr.upload) return xhr;
            xhr.upload.addEventListener('progress', function(e) {
              options.progress(e.loaded / e.total);
            });
            return xhr;
          }
function() {
            var xhr = $.ajaxSettings.xhr();
            if (!xhr.upload) return xhr;
            xhr.upload.addEventListener('progress', function(e) {
              options.progress(e.loaded / e.total);
            });
            return xhr;
          }
function ( ) { var xhr = $ . ajaxSettings . xhr ( ) ; if ( ! xhr . upload ) return xhr ; xhr . upload . addEventListener ( 'progress' , function ( e ) { options . progress ( e . loaded / e . total ) ; } ) ; return xhr ; }
Send progress updates
Send progress updates