code: function( file ) {
                  file = file.id ? file : this.request( 'get-file', file );
      
                  // 如果正在上传。
                  file.blocks && $.each( file.blocks, function( _, v ) {
                      var _tr = v.transport;
      
                      if ( _tr ) {
                          _tr.abort();
                          _tr.destroy();
                          delete v.transport;
                      }
                  });
      
                  file.setStatus( Status.CANCELLED );
                  this.owner.trigger( 'fileDequeued', file );
              }
docs: @method cancelFile
  @grammar cancelFile( file ) => undefined
  @grammar cancelFile( id ) => undefined
  @param {File|id} file File对象或这File对象的id
  @description 标记文件状态为已取消, 同时将中断文件传输。
  @for  Uploader
  @example
  
  $li.on('click', '.remove-this', function() {
  uploader.cancelFile( file );
  })