MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / win

Function win

src/classic/resource/Android/phonegap/cordova-2.7.0.js:2844–2852  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

2842
2843 var self = this;
2844 var win = function(result) {
2845 if (typeof result.lengthComputable != "undefined") {
2846 if (self.onprogress) {
2847 self.onprogress(newProgressEvent(result));
2848 }
2849 } else {
2850 successCallback && successCallback(result);
2851 }
2852 };
2853 exec(win, fail, 'FileTransfer', 'upload', [filePath, server, fileKey, fileName, mimeType, params, trustAllHosts, chunkedMode, headers, this._id, httpMethod]);
2854};
2855

Callers

nothing calls this directly

Calls 6

newProgressEventFunction · 0.85
removeListenersFunction · 0.85
createTimeoutFunction · 0.85
pushMethod · 0.80
successCallbackFunction · 0.50
createMethod · 0.45

Tested by

no test coverage detected