()
| 17 | } |
| 18 | |
| 19 | function headers() { |
| 20 | // Return an array of headers. Order is important! |
| 21 | var output = []; |
| 22 | |
| 23 | // Send all CSS |
| 24 | if (client.includes.css) { |
| 25 | output = output.concat( bundler.htmlTags('css',!!client.pack) ); |
| 26 | } |
| 27 | |
| 28 | // Send Application Code |
| 29 | output = output.concat( bundler.htmlTags('js',!!client.pack) ); |
| 30 | |
| 31 | return output; |
| 32 | } |
| 33 | |
| 34 | // Add links to CSS and JS files |
| 35 | var includes = headers().concat(templates()); |