pull/9/merge
Nikolai Onken 2015-02-11 13:41:56 +00:00
rodzic e3aaf42142
commit 86dc6c8fd3
1 zmienionych plików z 11 dodań i 1 usunięć

Wyświetl plik

@ -166,7 +166,7 @@ define(function(require, module, exports) {
function progress(options) {
emit("progress", options);
if (options.complete) {
emit.sticky("complete");
emit.sticky("complete", options);
}
}
@ -487,6 +487,16 @@ define(function(require, module, exports) {
* @param {Boolean} e.upload whether this is an upload (instead of a download).
**/
"progress",
/**
* Fires when the initial document loaded completely
* @event once
* @param {Object} e
* @param {Number} e.loaded the number of bytes that have been downloaded/uploaded.
* @param {Number} e.total the total number of bytes for this file.
* @param {Boolean} e.complete whether the download has completed.
* @param {Boolean} e.upload whether this is an upload (instead of a download).
**/
"complete",
/**
* Fires when this document is cloned
* @event cone