@@ -70,17 +70,17 @@ return /******/ (function(modules) { // webpackBootstrap
70
70
/******/ __webpack_require__ . p = "/dist/" ;
71
71
/******/
72
72
/******/ // Load entry module and return exports
73
- /******/ return __webpack_require__ ( __webpack_require__ . s = 5 ) ;
73
+ /******/ return __webpack_require__ ( __webpack_require__ . s = 4 ) ;
74
74
/******/ } )
75
75
/************************************************************************/
76
76
/******/ ( [
77
77
/* 0 */
78
78
/***/ ( function ( module , exports , __webpack_require__ ) {
79
79
80
80
"use strict" ;
81
- /* WEBPACK VAR INJECTION */ ( function ( global ) {
82
81
83
- var md5 = __webpack_require__ ( 7 ) ;
82
+
83
+ var md5 = __webpack_require__ ( 6 ) ;
84
84
var CryptoJS = __webpack_require__ ( 10 ) ;
85
85
var xml2json = __webpack_require__ ( 11 ) ;
86
86
var json2xml = __webpack_require__ ( 14 ) ;
@@ -552,8 +552,7 @@ var apiWrapper = function (apiName, apiFn) {
552
552
553
553
var errMsg = checkParams ( ) ;
554
554
var isSync = apiName === 'getAuth' || apiName === 'getObjectUrl' ;
555
- var Promise = global . Promise ;
556
- if ( ! isSync && Promise && ! callback ) {
555
+ if ( Promise && ! isSync && ! callback ) {
557
556
return new Promise ( function ( resolve , reject ) {
558
557
callback = function ( err , data ) {
559
558
err ? reject ( err ) : resolve ( data ) ;
@@ -664,39 +663,11 @@ var util = {
664
663
} ;
665
664
666
665
module . exports = util ;
667
- /* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 1 ) ) )
668
666
669
667
/***/ } ) ,
670
668
/* 1 */
671
669
/***/ ( function ( module , exports ) {
672
670
673
- var g ;
674
-
675
- // This works in non-strict mode
676
- g = ( function ( ) {
677
- return this ;
678
- } ) ( ) ;
679
-
680
- try {
681
- // This works if eval is allowed (see CSP)
682
- g = g || Function ( "return this" ) ( ) || ( 1 , eval ) ( "this" ) ;
683
- } catch ( e ) {
684
- // This works if the window reference is available
685
- if ( typeof window === "object" )
686
- g = window ;
687
- }
688
-
689
- // g can still be undefined, but nothing to do about it...
690
- // We return undefined, instead of nothing here, so it's
691
- // easier to handle this case. if(!global) { ...}
692
-
693
- module . exports = g ;
694
-
695
-
696
- /***/ } ) ,
697
- /* 2 */
698
- /***/ ( function ( module , exports ) {
699
-
700
671
/*
701
672
* DOM Level 2
702
673
* Object DOMException
@@ -1944,7 +1915,7 @@ try{
1944
1915
1945
1916
1946
1917
/***/ } ) ,
1947
- /* 3 */
1918
+ /* 2 */
1948
1919
/***/ ( function ( module , exports ) {
1949
1920
1950
1921
var initEvent = function ( cos ) {
@@ -1983,7 +1954,7 @@ module.exports.init = initEvent;
1983
1954
module . exports . EventProxy = EventProxy ;
1984
1955
1985
1956
/***/ } ) ,
1986
- /* 4 */
1957
+ /* 3 */
1987
1958
/***/ ( function ( module , exports , __webpack_require__ ) {
1988
1959
1989
1960
var util = __webpack_require__ ( 0 ) ;
@@ -2089,21 +2060,21 @@ var mod = {
2089
2060
module . exports = mod ;
2090
2061
2091
2062
/***/ } ) ,
2092
- /* 5 */
2063
+ /* 4 */
2093
2064
/***/ ( function ( module , exports , __webpack_require__ ) {
2094
2065
2095
- var COS = __webpack_require__ ( 6 ) ;
2066
+ var COS = __webpack_require__ ( 5 ) ;
2096
2067
module . exports = COS ;
2097
2068
2098
2069
/***/ } ) ,
2099
- /* 6 */
2070
+ /* 5 */
2100
2071
/***/ ( function ( module , exports , __webpack_require__ ) {
2101
2072
2102
2073
"use strict" ;
2103
2074
2104
2075
2105
2076
var util = __webpack_require__ ( 0 ) ;
2106
- var event = __webpack_require__ ( 3 ) ;
2077
+ var event = __webpack_require__ ( 2 ) ;
2107
2078
var task = __webpack_require__ ( 15 ) ;
2108
2079
var base = __webpack_require__ ( 16 ) ;
2109
2080
var advance = __webpack_require__ ( 18 ) ;
@@ -2161,12 +2132,12 @@ base.init(COS, task);
2161
2132
advance . init ( COS , task ) ;
2162
2133
2163
2134
COS . getAuthorization = util . getAuth ;
2164
- COS . version = '1.1.8 ' ;
2135
+ COS . version = '1.1.9 ' ;
2165
2136
2166
2137
module . exports = COS ;
2167
2138
2168
2139
/***/ } ) ,
2169
- /* 7 */
2140
+ /* 6 */
2170
2141
/***/ ( function ( module , exports , __webpack_require__ ) {
2171
2142
2172
2143
/* WEBPACK VAR INJECTION */ ( function ( process , global ) { var __WEBPACK_AMD_DEFINE_RESULT__ ; /* https://github.com/emn178/js-md5 */
@@ -2836,10 +2807,10 @@ module.exports = COS;
2836
2807
}
2837
2808
}
2838
2809
} ) ( ) ;
2839
- /* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 8 ) , __webpack_require__ ( 1 ) ) )
2810
+ /* WEBPACK VAR INJECTION */ } . call ( exports , __webpack_require__ ( 7 ) , __webpack_require__ ( 8 ) ) )
2840
2811
2841
2812
/***/ } ) ,
2842
- /* 8 */
2813
+ /* 7 */
2843
2814
/***/ ( function ( module , exports ) {
2844
2815
2845
2816
// shim for using process in browser
@@ -3028,6 +2999,33 @@ process.chdir = function (dir) {
3028
2999
process . umask = function ( ) { return 0 ; } ;
3029
3000
3030
3001
3002
+ /***/ } ) ,
3003
+ /* 8 */
3004
+ /***/ ( function ( module , exports ) {
3005
+
3006
+ var g ;
3007
+
3008
+ // This works in non-strict mode
3009
+ g = ( function ( ) {
3010
+ return this ;
3011
+ } ) ( ) ;
3012
+
3013
+ try {
3014
+ // This works if eval is allowed (see CSP)
3015
+ g = g || Function ( "return this" ) ( ) || ( 1 , eval ) ( "this" ) ;
3016
+ } catch ( e ) {
3017
+ // This works if the window reference is available
3018
+ if ( typeof window === "object" )
3019
+ g = window ;
3020
+ }
3021
+
3022
+ // g can still be undefined, but nothing to do about it...
3023
+ // We return undefined, instead of nothing here, so it's
3024
+ // easier to handle this case. if(!global) { ...}
3025
+
3026
+ module . exports = g ;
3027
+
3028
+
3031
3029
/***/ } ) ,
3032
3030
/* 9 */
3033
3031
/***/ ( function ( module , exports ) {
@@ -3702,8 +3700,8 @@ function appendElement (hander,node) {
3702
3700
3703
3701
//if(typeof require == 'function'){
3704
3702
var XMLReader = __webpack_require__ ( 13 ) . XMLReader ;
3705
- var DOMImplementation = exports . DOMImplementation = __webpack_require__ ( 2 ) . DOMImplementation ;
3706
- exports . XMLSerializer = __webpack_require__ ( 2 ) . XMLSerializer ;
3703
+ var DOMImplementation = exports . DOMImplementation = __webpack_require__ ( 1 ) . DOMImplementation ;
3704
+ exports . XMLSerializer = __webpack_require__ ( 1 ) . XMLSerializer ;
3707
3705
exports . DOMParser = DOMParser ;
3708
3706
//}
3709
3707
@@ -4510,7 +4508,7 @@ module.exports = function (obj, options) {
4510
4508
/* 15 */
4511
4509
/***/ ( function ( module , exports , __webpack_require__ ) {
4512
4510
4513
- var session = __webpack_require__ ( 4 ) ;
4511
+ var session = __webpack_require__ ( 3 ) ;
4514
4512
var util = __webpack_require__ ( 0 ) ;
4515
4513
4516
4514
var originApiMap = { } ;
@@ -8350,9 +8348,9 @@ module.exports = request;
8350
8348
/* 18 */
8351
8349
/***/ ( function ( module , exports , __webpack_require__ ) {
8352
8350
8353
- var session = __webpack_require__ ( 4 ) ;
8351
+ var session = __webpack_require__ ( 3 ) ;
8354
8352
var Async = __webpack_require__ ( 19 ) ;
8355
- var EventProxy = __webpack_require__ ( 3 ) . EventProxy ;
8353
+ var EventProxy = __webpack_require__ ( 2 ) . EventProxy ;
8356
8354
var util = __webpack_require__ ( 0 ) ;
8357
8355
8358
8356
// 文件分块上传全过程,暴露的分块上传接口
0 commit comments