1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Merge pull request #1015 from codedge/Set-up-pdf.built.js-with-Elixir

Set up Elixir with pdf.built.js
This commit is contained in:
Hillel Coren 2016-07-25 09:41:46 +03:00 committed by GitHub
commit aa8a5ca93e
4 changed files with 25 additions and 8049 deletions

View File

@ -164,7 +164,7 @@ module.exports = function(grunt) {
process: false
}
},
js_pdf: {
/*js_pdf: {
src: [
'public/js/pdf_viewer.js',
'public/js/compatibility.js',
@ -173,7 +173,7 @@ module.exports = function(grunt) {
],
dest: 'public/pdf.built.js',
nonull: true
}
}*/
}
});

View File

@ -43,6 +43,13 @@ elixir(function(mix) {
*/
mix.scripts(['resources/assets/js/Chart.js'], 'public/js/Chart.min.js')
.scripts(['resources/assets/js/d3.js'], 'public/js/d3.min.js');
mix.scripts([
'public/js/pdf_viewer.js',
'public/js/compatibility.js',
'public/js/pdfmake.min.js',
'public/js/vfs.js'
], 'public/pdf.built.js');
});

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long