File tree Expand file tree Collapse file tree 2 files changed +19
-11
lines changed Expand file tree Collapse file tree 2 files changed +19
-11
lines changed Original file line number Diff line number Diff line change @@ -75,20 +75,20 @@ config-jenkins-linux:
75
75
self :
76
76
url : ' //static.sn.ackitup.net/lib/webitup'
77
77
78
+
78
79
# Roxee box
79
- config-roxee-Linux :
80
+ config-www-data-linux :
80
81
paths :
81
- deploy : ' /home/roxee/www/static/lib/webitup'
82
- # DOC_ROOT: '/home/roxee/doc/spitfire'
82
+ deploy : ' /home/lxxl-deploy/lxxl'
83
83
links :
84
84
airstrip :
85
85
version : ' 1.0'
86
- url : ' https://static.roxee.net /airstrip.json'
86
+ url : ' https://www.education-et-numerique.fr /airstrip.json'
87
87
spitfire :
88
88
version : ' 1.0'
89
- url : ' https://static.roxee.net/lib/webitup /spitfire.json'
89
+ url : ' https://www.education-et-numerique.fr /spitfire.json'
90
90
self :
91
- url : ' //static.roxee.net/lib/webitup '
91
+ url : ' //www.education-et-numerique.fr '
92
92
93
93
config-dmp-darwin :
94
94
root : " ${HOME}/buildd/stage.webitup.org"
Original file line number Diff line number Diff line change 51
51
ia [ i ] = byteString . charCodeAt ( i ) ;
52
52
}
53
53
54
- // write the ArrayBuffer to a blob, and you're done
55
54
var bb ;
56
55
try {
57
56
bb = new BlobBuilder ( ) ;
58
57
} catch ( e ) {
59
58
try {
60
59
bb = new WebKitBlobBuilder ( ) ;
61
60
} catch ( e2 ) {
62
- bb = new MozBlobBuilder ( ) ;
61
+ try {
62
+ bb = new MozBlobBuilder ( ) ;
63
+ } catch ( e ) {
64
+
65
+ }
63
66
}
64
67
}
65
68
66
- bb . append ( ab ) ;
67
- return bb . getBlob ( mimeString ) ;
69
+ if ( bb ) {
70
+ bb . append ( ab ) ;
71
+ return bb . getBlob ( mimeString ) ;
72
+ } else {
73
+ return new Blob ( [ ab ] , { "type" : mimeString } ) ;
74
+ }
68
75
} ;
69
76
70
77
// The "caller" url
91
98
data = dataURItoBlob ( data ) ;
92
99
xhr . send ( data ) ;
93
100
} catch ( e ) {
94
- console . warn ( 'Something very bad happened deep-down inside!' , e ) ;
95
101
bouncer . apply ( xhr ) ;
102
+ console . warn ( 'Something very bad happened deep-down inside!' , e ) ;
103
+ throw e ;
96
104
}
97
105
} ;
98
106
You can’t perform that action at this time.
0 commit comments