File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ import { globalObject } from "../libs/globalObject.js";
48
48
}
49
49
} ) ;
50
50
}
51
- return Promise . reject ( new Error ( "Could not load " + name ) ) ;
51
+ return Promise . reject ( new Error ( "Could not load html2canvas" ) ) ;
52
52
// @endif
53
53
} ) ( )
54
54
. catch ( function ( e ) {
55
- return Promise . reject ( new Error ( "Could not load dompurify : " + e ) ) ;
55
+ return Promise . reject ( new Error ( "Could not load html2canvas : " + e ) ) ;
56
56
} )
57
57
. then ( function ( html2canvas ) {
58
58
return html2canvas . default ? html2canvas . default : html2canvas ;
@@ -88,7 +88,7 @@ import { globalObject } from "../libs/globalObject.js";
88
88
}
89
89
} ) ;
90
90
}
91
- return Promise . reject ( new Error ( "Could not load " + name ) ) ;
91
+ return Promise . reject ( new Error ( "Could not load dompurify" ) ) ;
92
92
// @endif
93
93
} ) ( )
94
94
. catch ( function ( e ) {
Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ import { globalObject } from "../libs/globalObject.js";
64
64
}
65
65
} ) ;
66
66
}
67
- return Promise . reject ( new Error ( "Could not load " + name ) ) ;
67
+ return Promise . reject ( new Error ( "Could not load canvg" ) ) ;
68
68
// @endif
69
69
} ) ( )
70
70
. catch ( function ( e ) {
71
- return Promise . reject ( new Error ( "Could not load dompurify : " + e ) ) ;
71
+ return Promise . reject ( new Error ( "Could not load canvg : " + e ) ) ;
72
72
} )
73
73
. then ( function ( canvg ) {
74
74
return canvg . default ? canvg . default : canvg ;
You can’t perform that action at this time.
0 commit comments