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";
4848 }
4949 } ) ;
5050 }
51- return Promise . reject ( new Error ( "Could not load " + name ) ) ;
51+ return Promise . reject ( new Error ( "Could not load html2canvas" ) ) ;
5252 // @endif
5353 } ) ( )
5454 . 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 ) ) ;
5656 } )
5757 . then ( function ( html2canvas ) {
5858 return html2canvas . default ? html2canvas . default : html2canvas ;
@@ -88,7 +88,7 @@ import { globalObject } from "../libs/globalObject.js";
8888 }
8989 } ) ;
9090 }
91- return Promise . reject ( new Error ( "Could not load " + name ) ) ;
91+ return Promise . reject ( new Error ( "Could not load dompurify" ) ) ;
9292 // @endif
9393 } ) ( )
9494 . catch ( function ( e ) {
Original file line number Diff line number Diff line change @@ -64,11 +64,11 @@ import { globalObject } from "../libs/globalObject.js";
6464 }
6565 } ) ;
6666 }
67- return Promise . reject ( new Error ( "Could not load " + name ) ) ;
67+ return Promise . reject ( new Error ( "Could not load canvg" ) ) ;
6868 // @endif
6969 } ) ( )
7070 . 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 ) ) ;
7272 } )
7373 . then ( function ( canvg ) {
7474 return canvg . default ? canvg . default : canvg ;
You can’t perform that action at this time.
0 commit comments