mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
9 lines
309 B
JavaScript
9 lines
309 B
JavaScript
window.pdfMake = window.pdfMake || {}; window.pdfMake.vfs = {};
|
|
if(window.ninjaFontVfs)ninjaLoadFontVfs();
|
|
function ninjaLoadFontVfs(){
|
|
jQuery.each(window.ninjaFontVfs, function(font, files){
|
|
jQuery.each(files, function(filename, file){
|
|
window.pdfMake.vfs[font+'/'+filename] = file;
|
|
});
|
|
})
|
|
} |